forked from robotframework/robotframework
-
Notifications
You must be signed in to change notification settings - Fork 1
[pull] master from robotframework:master #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
1,837
commits into
testautomation:master
Choose a base branch
from
robotframework:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manage this branch in SquashTest this branch here: https://master-n02a3.squash.io |
Most importantly, document automatic code formatting. Fixes #5441.
Iterate the file object directly instead. Fixes #5447.
Using `skip` is a bit safer, because forgetting to use `on` would disable formatting for the remaining file. We also mostly use `skip` elsewhere.
Use the formatting style enforced by autoformatters even when formatting is disabled for other reasons.
Separate tests for: - Embedded args as a literal string - Embedded args as a variable
Most importantly, fix regression with French `Étant donné`, `Et` and `Mais` prefixes not working with keyword names starting with `que` or `qu'`. Fixes #5456.
Messages and keywords by the end_test listener method overrode test's body if test had a teardown and JSON output was used. This was due to there being two `body` items in this case. The issue was fixed by merging duplicate JSON items that have lists as values. Fixes #5463. Added teardown to the widely used pass_and_fail.robot file required updating various unrelated tests.
- Match name only with `kw` elements. - Remove dead code related to matching tags. Tags are nowadays handled after parsing output.xml.
- Make generic - Better name
Explicit tests for preserving tags and timeouts when using `--flattenkeywords`. These help making sure fixes for #5466 don't break this fuctionality.
Avoids creating the object representing suite.teardown.
Allow using `object_hook=None` and `object_pairs_hook=None`.
Also some fine-tuning.
Earlier no conversion was attempted if argument was typed like `arg: int | object`. Nowadays conversion to types before `object` is attempted. Fixes #5529. We plant to change `Any` conversion this way as well. See #5571 for details. Also simplify `Should Be Equal` typing. The old approach would have caused issues if `Any` handling was changed.
These types are used with keywords executing other keywords to type names and arguments of the executed keywords, respectively. External tools can recognize arguments using these types and handle them accordingly. Fixes #4857.
- Fix explanation about normalizing full names. Fixes #5573. - Clarify documentation in general.
Shorter timeouts and sleeping times. This kind of changes are a bit risky, because they can make tests flakey. In this case changes should make tests more stable, though, because the default test timeout has been increased. Even if a test would be slow on some run (e.g. due to OS), it should not hit the new 10s timeout.
Try to avoid flakeyness
Motivation is moving ProcessResult before Process to be able to give custom type documentation to it (#5575).
Emit deprecation warnigns only if VAR is used to set a non-local variable without a value, not when it is set to a falsy value. Fixes #5577.
Helps a bit with fixing #5579.
See #5580 for more details.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )