Skip to content

[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
wants to merge 1,620 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
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 January 10, 2025 17:10
included review from @JFoederer
added Dutch Libdoc translation
Also fix reading the elapsed time from output.xml when the start time
is not available. Fixes #5325.
The creash required there to be messages directly in test body.
Normally messages are always under a keyword, but listeners can log
messages also in `start_test` or `end_test`. DataDriver apparently
does that so this situation is relatively common.

Fixes #5326.
Fixes #5318.

Also plenty of test data cleanup.
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5.3.0...v5.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pekkaklarck and others added 30 commits June 16, 2025 12:01
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`.
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.