objectionary / sodg

Rust implementation of Surging Object DiGraph (SODG)
https://crates.io/crates/sodg
MIT License
9 stars 3 forks source link

Update Rust crate rstest to 0.22.0 #145

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
rstest dependencies minor 0.16.0 -> 0.22.0

Release Notes

la10736/rstest (rstest) ### [`v0.22.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0220-202484) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.21.0...v0.22.0) ##### Changed - Now it's possible destructuring input values both for cases, values and fixtures. See [#​231](https://togithub.com/la10736/rstest/issues/231) for details ##### Add - Implemented `#[ignore]` attribute to ignore test parameters during fixtures resolution/injection. See [#​228](https://togithub.com/la10736/rstest/issues/228) for details ##### Fixed - Lot of typo in code ### [`v0.21.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0210-202461) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.20.0...v0.21.0) ##### Changed - Add feature `crate-name` enabled by default to opt-in crate rename support. See [#​258](https://togithub.com/la10736/rstest/issues/258) ### [`v0.20.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0200-2024530) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.19.0...v0.20.0) ##### Add - Implemented `#[by_ref]` attribute to take get a local lifetime for test arguments. See [#​241](https://togithub.com/la10736/rstest/issues/241) for more details. Thanks to [@​narpfel](https://togithub.com/narpfel) for suggesting it and useful discussions. - Support for import `rstest` with another name. See [#​221](https://togithub.com/la10736/rstest/issues/221) ##### Fixed - Don't remove Lifetimes from test function if any. See [#​230](https://togithub.com/la10736/rstest/issues/230) [#​241](https://togithub.com/la10736/rstest/issues/241) for more details. - [`PathBuf`](https://doc.rust-lang.org/std/path/struct.PathBuf.html) does no longer need to be in scope when using `#[files]` (see [#​242](https://togithub.com/la10736/rstest/pull/242)) - `#[from(now::accept::also::path::for::fixture)]` See [#​246](https://togithub.com/la10736/rstest/issues/246) for more details ### [`v0.19.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0190-202449) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.18.2...v0.19.0) ##### Changed - Defined `rust-version` for each crate (see [#​227](https://togithub.com/la10736/rstest/issues/227)) ##### Fixed - `#[once]` fixtures now require the returned type to be [`Sync`](https://doc.rust-lang.org/std/marker/trait.Sync.html) to prevent UB when tests are executed in parallel. (see [#​235](https://togithub.com/la10736/rstest/issues/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`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0182-2023813) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.18.1...v0.18.2) ##### Changed - Now `#[files]` accept also parent folders (see [#​205](https://togithub.com/la10736/rstest/issues/205) for more details). ### [`v0.18.1`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0181-202375) [Compare Source](https://togithub.com/la10736/rstest/compare/v0.18.0...v0.18.1) ##### Fixed - Wrong doc test - Docs ### [`v0.18.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0180-202374) [Compare Source](https://togithub.com/la10736/rstest/compare/0.17.0...v0.18.0) ##### Add - Add support for `RSTEST_TIMEOUT` environment variable to define a max timeout for each function (see [#​190](https://togithub.com/la10736/rstest/issues/190) for details). Thanks to [@​aviramha](https://togithub.com/aviramha) for idea and PR - `#[files("glob path")]` attribute to generate tests based on files that satisfy the given glob path (see [#​163](https://togithub.com/la10736/rstest/issues/163) for details). ##### Changed - Switch to `syn` 2.0 and edition 2021 : minimal Rust version now is 1.56.0 both for `rstest` and `rstest_reuse` (see [#​187](https://togithub.com/la10736/rstest/issues/187)) ##### Fixed - Fixed wired behavior on extraction `#[awt]` function attrs (See [#​189](https://togithub.com/la10736/rstest/issues/189)) ### [`v0.17.0`](https://togithub.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0170-2023319) [Compare Source](https://togithub.com/la10736/rstest/compare/0.16.0...0.17.0) ##### Add - Add `#[awt]` and `#[future(awt)]` to `.await` future input ##### Fixed - Fixed wrong message when timeout tests panic before timeout expire (See [#​171](https://togithub.com/la10736/rstest/issues/171))

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.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.92%. Comparing base (415d965) to head (35df3ee). Report is 1 commits behind head on master.

:exclamation: Current head 35df3ee differs from pull request most recent head 5e6e943

Please upload reports for the commit 5e6e943 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #145 +/- ## ========================================== + Coverage 70.80% 70.92% +0.11% ========================================== Files 16 16 Lines 596 595 -1 ========================================== Hits 422 422 + Misses 174 173 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.