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,808
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 |
It was removed in e3781ab because new `matches` and `parse_args` made it redundant. It was used at least by one project, so now it's back but deprecated.
`datetime` conversion suppors a special value `now` and `date` conversoin supports `today`. Fixes #5440.
Earlier implementation of #5440 supported `now` only with `datetime` and `today` only with `date`. This implementation is easier for users.
To some extend related to documenting variable type conversion (#3278).
Earlier syntax was `${name:pattern: type}`, but now it is
`${name: type:pattern}`. This is more consistent with the general
variable type syntax `${name: type}`. Part of #3278.
Error messages enhanced in these cases: - Embedded argument value is invalid. - Argument default value is invalid.
- Explicit test for embedded args regexp with leading/trailig spaces. - Add one test for type conversion also to embedded arguments suite.
- Remove Python 2 reference - Add section about type hints
Also some refactoring: - Parse arguments to VariableMatch objects just once. - Reorder methods. Fixes #5443.
Hopefully this doesn't make tests flakey...
…yword This only affects a situation where - a name of an executed keyword contains a variable and - the name matches a different keyword depending on are variables replaced or not. After this change an exact match after variables have been resolved has a precedence regardless what the original name would match. Fixes #5444.
Not needed anymore when XML has typing (#5541) that brings documentation for the `bool` type automatically.
Hopefully this doesn't make tests flakey...
- Disable current timeouts when running keyword teardown to avoid them stopping execution. - After teardown, check has any of timeouts exceeded during it. - Timeouts set inside teardown are used normally. Fixes #5474.
Also round time left in the "timeout active" debug message to three decimals.
Part of #5373. Fixes #5558. --------- Co-authored-by: Clemens Otto <[email protected]> Co-authored-by: Pekka Klärck <[email protected]>
The value should be omitted altogether or '0' used instead. Also add default value to `Get Substring` keyword's `start` argument to actually allow omitting the value. Fixes #5537.
Argument conversion handles conversion for us.
- Use templates to avoid duplication - Make template keywords more generic
This was already done with `Split To Lines` and `Get Substring`, but now it is also done with `Split String`, `Split String From Right` and `Generate Random String`. Fixes #5537.
Fixes #5568. Also enhance comments about other deprecations in RF 7.4. Now all have a TODO about removing in RF 9. Possibly those that affect signatures (`Literal[""]`) could be removed already earlier, with others there's no real hurry.
Also some fine-tuning.
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 : )