chore(deps): update rust crate rstest to 0.23.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
rstest | dev-dependencies | minor |
0.18.1 -> 0.23.0
|
Release Notes
la10736/rstest (rstest)
v0.23.0
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
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
Changed
- Add feature
crate-name
enabled by default to opt-in crate rename support. See #258
v0.20.0
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
Changed
- Defined
rust-version
for each crate (see #227)
Fixed
-
#[once]
fixtures now require the returned type to beSync
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.
v0.18.2
Changed
- Now
#[files]
accept also parent folders (see #205 for more details).
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.