Comments (3)
I have posted a notification in the rf-nl
and rf-be
Slack channels announcing the update without a planned deprecation period for RF7.1.
from robotframework.
Dutch translations have now been updated. The old terms were simply replaced by new ones which makes the change backwards incompatible.
from robotframework.
I looked at making it possible to deprecate translations instead of just removing them. Based on my experiment that is certainly possible, but it is a bit more complicated than I anticipated. Apparently nobody in the Dutch speaking community raised strong backwards compatibility concerns, so I believe just changing the terms is fine as long as it is mentioned in RF 7.1 release notes.
If needed, we can look at deprecation again even before RF 7.1 is released. I'll briefly explain my experiment and what challenges there were:
- I added a
deprecated
dictionary to theLanguage
class with an idea that old terms would be keys and new terms would be values. This information would then be collected to the higher levelLanguages
object similarly as other translation info. This API would be pretty convenient for translators and I would prefer to use that also if we implement deprecation support for real. - The first challenge in implementation was that deprecations would need to be checked in all places where translations are used. This means few different places in parsing (at least headers and settings are handled separately) and at least BDD-prefixes and Boolean strings during execution. Not overly complicated, but going through all translation usages is some work and all these usages also would need test.
- During parsing we must add error information to the parsed tokens, not to print it to console or raise exceptions. This makes errors available for IDEs and other tools using the parsing model, but we then need to report the errors to users separately when the execution model is built as part of normal execution. Unfortunately this particular error reporting doesn't work too well at the moment and it would probably need to be enhanced to make all this work properly. The main problem is that the parsing model doesn't have a proper way to separate real errors (e.g. invalid setting) from warnings (e.g. deprecations). This limitation has caused as problems also earlier and fixing it would be good, but that obviously requires some additional design and coding work.
from robotframework.
Related Issues (20)
- Option like --rerunfailed but to rerun failed tests automatically x number of times
- RobotFramework Unable to read or show the Documentation properly in log file when there is an empty line in between the lines of Keyword Documentation HOT 3
- Mention log.html if long message is cut HOT 2
- Some keywords are not fetched from variables section
- KeyError: 'NOT RUN' in highlighter HOT 2
- Spaces are not normalized when matching keywords with embedded arguments
- Subsequent suites do not run when exit-on-failure is in use and suite setup fails, although all tests in failing suite were marked with a skip-on-failure tag
- `List Should Contain Sub List` does not detect failure if only difference is empty string HOT 1
- [BUG] allure count mismatch if the testcases are executed for multiple iteration HOT 2
- [Bug] Testcase with [...] cannot specify through "--test" option HOT 2
- Using Run Process, it is working in Pycharm but not working via running robot in terminal HOT 3
- Rounding error leads to bad display of status color bar HOT 2
- 请教:如何延迟RF变量的解析(how How can I delay variable evaluation like the built-in Run Keywords?) HOT 2
- trying to use Python files as library in keywords robot file but facing error Unresolved library: ../resources/variables.py. Error generating libspec: Importing library 'variables' failed: ModuleNotFoundError: No module names variables Consider adding the needed paths to the "robot.pythonpath" setting and calling the "Robot Framework: Clear caches and restart" action HOT 1
- Variables containing mutable values are resolved incorrectly in some cases HOT 2
- 请教:在VsCode使用RobotCode插件执行时如何配置log.html、output.xml和report.html文件的生成位置 HOT 6
- `robot --version` causes "Error: Process completed with exit code 251." in GitHub Actions HOT 2
- A process stops printing data in a while loop when I use "Process" library to start this process in background HOT 3
- Expand environment variables in argumentfile HOT 6
- Korean translation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework.