chore(deps): update rust crate rstest to 0.26.0 #143
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.18.1->0.26.0Release Notes
la10736/rstest (rstest)
v0.26.1Compare Source
Fixed
v0.26.0Compare Source
Changed
#[files(...)]attribute now ignores matched directory paths by default.See #306 thanks to @Obito-git.
Add
#[dirs]attribute, which can be used with#[files(...)]to explicitly include directory paths.See #306 thanks to @Obito-git.
#[test_attr]to define test attribute explicit and also enable the use of#[macro_rules_attribute::apply(<macro>)]: naw alsosmolworks. See#303
#311
#315
thanks to @coriolinus.
Fixed
1.89.0-nightlyrstestexpansion.See #313
#[files(...)]attribute now works reliably on Windows.v0.25.0Compare Source
Changed
(see #291 thanks to @kezhuw).
Add
#[mode = ...]attribute to be used with the#[files(...)]attribute to change the waythe files get passed to the test.
(see #295 thanks to @lucascool12)
v0.24.0Compare Source
Changed
Add
#![no_std]support: now you can userstestalso inno_stdlib(see #282 thanks to @rnbguy)
#[context]to have test function name and other useful thighs onthe tip of your fingers (see #177)
v0.23.0Compare Source
Add
#[files]with an optional default value (see #277).#[files]with the$[base_dir = "..."]attribute (see #277).v0.22.0Compare Source
Changed
Add
#[ignore]attribute to ignore test parameters during fixtures resolution/injection. See #228 for detailsFixed
v0.21.0Compare Source
Changed
crate-nameenabled by default to opt-in crate renamesupport. See #258
v0.20.0Compare Source
Add
#[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.
rstestwith another name. See #221Fixed
#241 for more details.
PathBufdoes no longer need to bein scope when using
#[files](see #242)#[from(now::accept::also::path::for::fixture)]See #246for more details
v0.19.0Compare Source
Changed
rust-versionfor each crate (see #227)Fixed
#[once]fixtures now require the returned type to beSyncto prevent UBwhen 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 andtreating 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.
To execute skipped test pipelines write comment
/ok-to-test.This PR has been generated by MintMaker (powered by Renovate Bot).