Skip to content

chore(deps): update rust crate rstest to 0.23.0

renovate requested to merge renovate/rstest-0.x into main

This MR contains the following updates:

Package Type Update Change
rstest dev-dependencies minor 0.18.2 -> 0.23.0

Release Notes

la10736/rstest (rstest)

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 MR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports

Loading