Skip to content

Conversation

@red-hat-konflux
Copy link

@red-hat-konflux red-hat-konflux bot commented Oct 31, 2025

This PR contains the following updates:

Package Type Update Change
rstest workspace.dependencies minor 0.18.1 -> 0.26.0

Release Notes

la10736/rstest (rstest)

v0.26.1

Compare Source

Fixed
  • Docs

v0.26.0

Compare Source

Changed
  • The #[files(...)] attribute now ignores matched directory paths by default.
    See #​306 thanks to @​Obito-git.
Add
  • Introduced the #[dirs] attribute, which can be used with #[files(...)] to explicitly include directory paths.
    See #​306 thanks to @​Obito-git.
  • The CI now runs builds and tests on Windows, as well.
  • #[test_attr] to define test attribute explicit and also enable the use of
    #[macro_rules_attribute::apply(<macro>)]: naw also smol works. See
    #​303
    #​311
    #​315
    thanks to @​coriolinus.
Fixed
  • Removed unsued trait and impl spotted out on 1.89.0-nightly
  • Add missed tests about ignore attribute's args in rstest expansion.
    See #​313
  • The #[files(...)] attribute now works reliably on Windows.
  • Now global attributes can go everywhere in the list also where case is used

v0.25.0

Compare Source

Changed
  • Append generated test macro so next test macros are aware of it
    (see #​291 thanks to @​kezhuw).
Add
  • Added a #[mode = ...] attribute to be used with the #[files(...)] attribute to change the way
    the files get passed to the test.
    (see #​295 thanks to @​lucascool12)

v0.24.0

Compare Source

Changed
Add
  • #![no_std] support: now you can use rstest also in no_std lib
    (see #​282 thanks to @​rnbguy)
  • #[context] to have test function name and other useful thighs on
    the tip of your fingers (see #​177)

v0.23.0

Compare Source

Add
  • You can now use environment variables in #[files] with an optional default value (see #​277).
  • You can now set a base_dir for #[files] with the $[base_dir = "..."] attribute (see #​277).

v0.22.0

Compare Source

Changed
  • Now it's possible destructuring input values both for cases, values and fixtures. See #​231 for details
Add
  • Implemented #[ignore] attribute to ignore test parameters during fixtures resolution/injection. See #​228 for details
Fixed
  • Lot of typo in code

v0.21.0

Compare Source

Changed
  • Add feature crate-name enabled by default to opt-in crate rename
    support. See #​258

v0.20.0

Compare Source

Add
  • Implemented #[by_ref] attribute to take get a local lifetime for test arguments.
    See #​241 for more details. Thanks to
    @​narpfel for suggesting it and useful discussions.
  • Support for import rstest with another name. See #​221
Fixed
  • Don't remove Lifetimes from test function if any. See #​230
    #​241 for more details.
  • PathBuf does no longer need to be
    in scope when using #[files] (see #​242)
  • #[from(now::accept::also::path::for::fixture)] See #​246
    for more details

v0.19.0

Compare Source

Changed
  • Defined rust-version for each crate (see #​227)
Fixed
  • #[once] fixtures now require the returned type to be
    Sync to prevent UB
    when tests are executed in parallel. (see #​235
    for more details)

  • #[future(awt)] and #[awt] now properly handle mutable (mut) parameters by treating futures as immutable and
    treating the awaited rebinding as mutable.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.

This PR has been generated by MintMaker (powered by Renovate Bot).

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants