Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate rstest to 0.23.0 #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2023

This PR contains the following updates:

Package Type Update Change
rstest dependencies minor 0.16.0 -> 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.

v0.18.2

Compare Source

Changed
  • Now #[files] accept also parent folders (see #​205
    for more details).

v0.18.1

Compare Source

Fixed
  • Wrong doc test
  • Docs

v0.18.0

Compare Source

Add
  • Add support for RSTEST_TIMEOUT environment variable to define a max timeout
    for each function (see #​190 for details).
    Thanks to @​aviramha for idea and PR
  • #[files("glob path")] attribute to generate tests based on files that
    satisfy the given glob path (see #​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)
Fixed
  • Fixed wired behavior on extraction #[awt] function attrs (See
    #​189)

v0.17.0

Compare Source

Add
  • Add #[awt] and #[future(awt)] to .await future input
Fixed
  • Fixed wrong message when timeout tests panic before timeout expire (See #​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.


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

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

@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update Rust crate rstest to 0.18.0 Update Rust crate rstest to 0.18.1 Jul 5, 2023
@renovate renovate bot changed the title Update Rust crate rstest to 0.18.1 Update Rust crate rstest to 0.18.2 Aug 13, 2023
@renovate renovate bot changed the title Update Rust crate rstest to 0.18.2 Update Rust crate rstest to 0.19.0 Apr 9, 2024
@renovate renovate bot changed the title Update Rust crate rstest to 0.19.0 Update Rust crate rstest to 0.20.0 May 30, 2024
@renovate renovate bot changed the title Update Rust crate rstest to 0.20.0 Update Rust crate rstest to 0.21.0 Jun 1, 2024
@renovate renovate bot changed the title Update Rust crate rstest to 0.21.0 Update Rust crate rstest to 0.22.0 Aug 4, 2024
@renovate renovate bot changed the title Update Rust crate rstest to 0.22.0 Update Rust crate rstest to 0.23.0 Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants