Skip to content

Conversation

@pull
Copy link

@pull pull bot commented May 10, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label May 10, 2022
@squash-labs
Copy link

squash-labs bot commented Feb 14, 2023

Manage this branch in Squash

Test this branch here: https://master-n02a3.squash.io

pekkaklarck and others added 28 commits June 13, 2025 12:27
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.
Avoids expanding failed/skipped tests when closing element.

Fixes #5322. See also PR #5445 that provided the initial fix.
- New files need to be added before commiting.
- Fix formatting.
Separate tests for:
- Embedded args as a literal string
- Embedded args as a variable
RF 7.3.1 (#5444) broke using Run Keyword and setup/teardown with
embedded arguments that matched only after replacing variables.

Fixes #5455.
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.
Most importantly, support `object_hook` to make it easier to fix #5467
that needs a way to affect JSON parsing early. `object_pairs_hook` is
explicitly not allowed, because we use it ourselves to handle
duplicate lists (#5463).
Replace `**options` with explicit keyword-only parameters to
make the signrature more convenient to use and easier to document
properly.

This change makes it more cleaer that JSON results don't support
omitting keywords (#5467) or flattening keywords (#5464).
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.
- Whitespace
- Better test names
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.
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.
`_name` should only be used with typing constructs. This was fixed
with `type_name` already in 04a6efc as part of #5433.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.