Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 18, 2023

This PR contains the following updates:

Package Type Update Change
test-case dev-dependencies major 1 -> 3

Release Notes

frondeus/test-case (test-case)

v3.3.1

Compare Source

Fixes
  • Avoid emitting additional misleading error messages by proc-macro2-diagnostics (#​138)

v3.3.0

Compare Source

Features
  • Allow comments in test-matrix macro (#​132)
Improvements
  • Drop proc-macro-error dependency & improve error messages (#​136)

v3.2.1

Compare Source

Improvements
  • Update syn dependency to 2.0
  • Ensure that test-case selects correct version of it's core and macros subcrates

v3.2.0

Compare Source

Features
  • Add test_matrix macro: generates test cases from Cartesian product of possible test function argument values (#​128)
Improvements
  • Retain allow attributes on test functions (#​127)

v3.1.0

Compare Source

Features
  • Copy attribute span to generated test functions so that IDEs recognize them properly as individual tests
Improvements
  • Added LICENSE file to child crates

v3.0.0

Compare Source

[IMPORTANT] Starting with 3.0 release we are changing test-case MSRV policy to support only 3 latest stable releases.

Improvements
  • Split out functional parts of test-case-macros crate into test-case-core for easy reuse by external libraries

v2.2.2

Compare Source

Fixes
  • Use fully qualified test macro path to avoid conflicts in workspace (#​105)

v2.2.1

Compare Source

Fixes
  • Ensure test-case depends on correct version of test-case-macros

v2.2.0

Compare Source

Features
  • Support ignore["reason"] syntax (#​102)

v2.1.0

Compare Source

Features
  • Support matches_regex complex test-case (requires with-regex feature) (#​98)
  • Support len, count and empty complex test-cases (#​97)
Fixes
  • Support keyword ignore on void fn (#​100)
Improvements
  • Move macros to separate subcrate so that test-case can export other things (#​96)

v2.0.2

Compare Source

Fixes
  • Covered missing cases in matches X if Y test_case variant (fixes the fact that previous bug fix didn't produce guard code)

v2.0.1

Compare Source

Fixes
  • matches Pattern if condition parses correctly (if condition part wasn't allowed)

v2.0.0

Compare Source

Features
  • => with |x: T| assert!(x) custom inline test assertions
  • => using path::to::fn custom fn test assertions
  • ignore|inconclusive can be combined with other keywords (eg.: => ignore matches Ok(_))
  • => it|is ... syntax is a built-in (previously required hamcrest2 crate integration)
  • Tested items are left in place where they were defined #​77
  • Simple test cases allow Result<(), _> return types similar to native #[test] macro
Improvements
  • Significant code refactoring
  • Improved test case name selection
Breaking changes
  • Deprecation of inconclusive within test description string - it will no longer act like modifier keyword
  • Deprecation of hamcrest2 integration
  • Deprecation of allow_result feature

v1.2.3

Compare Source

Fixes
  • Fix regression where panics and inconclusive were not allowed on test_cases returning a value
  • Fix case where test_case would allow to return a type when only single attribute was used

v1.2.2

Compare Source

Fixes
  • test-case no longer allows returning values from tested function without => pattern (thanks to @​tarka)
    • Behaviour can be reenabled via allow_result feature

v1.2.1

Compare Source

Fixes
  • Disabled clippy warning when test-case was generating assert_eq(bool, bool) expression.

v1.2.0

Compare Source

Features
  • Allow usage of fully qualified attribute #[test_case::test_case] (thanks to @​tomprince)
Improvements
  • Stopped code from emmiting unneded () expression in test cases with expected fragment (thanks to @​martinvonz)

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.

@coveralls
Copy link

coveralls commented Mar 18, 2023

Pull Request Test Coverage Report for Build 8996758975

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 23 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+2.4%) to 24.253%

Files with Coverage Reduction New Missed Lines %
crates/proto/src/node/expand_volume.rs 1 0.0%
crates/proto/src/node/get_volume_stats.rs 1 0.0%
crates/proto/src/node/publish_volume.rs 1 0.0%
crates/proto/src/controller/validate_volume_capabilities.rs 2 0.0%
crates/mount-utils/src/utils.rs 2 92.65%
crates/proto/src/volume.rs 7 0.0%
crates/mount-utils/src/unix.rs 9 56.44%
Totals Coverage Status
Change from base Build 615100636: 2.4%
Covered Lines: 641
Relevant Lines: 2643

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/test-case-3.x branch 2 times, most recently from d44f598 to c02a7f7 Compare May 8, 2024 05:25
@renovate renovate bot force-pushed the renovate/test-case-3.x branch from c02a7f7 to d7c3efd Compare August 11, 2025 23:33
@renovate renovate bot force-pushed the renovate/test-case-3.x branch from d7c3efd to f36677d Compare September 26, 2025 23:55
@renovate
Copy link
Author

renovate bot commented Sep 26, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/mount-utils/Cargo.toml --package [email protected] --precise 3.3.1
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

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.

1 participant