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).
[0.22.0] 2024/8/4
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
[0.21.0] 2024/6/1
Changed
Add feature crate-name enabled by default to opt-in crate rename
support. See #258
[0.20.0] 2024/5/30
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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rstest to permit the latest version.
Release notes
Sourced from rstest's releases.
Changelog
Sourced from rstest's changelog.
... (truncated)
Commits
da11d4e
Update dependency and prepare the release0c6e203
Update checkout list20e8858
Make clippy happy57a9342
Playground should use dev package8a04803
Removed the useless build rerun variable8c232bc
Add a test for invalid base_dir value3520861
Add tests for replace_env_vars465a401
Add unit tests for parsing attributes, and add base_dira970613
Add a test for declared environment variablesc65d1c0
Add tests and #[ignore_missing_env_vars]Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show