Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 26, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

frondeus/test-case

v2.2.2

Compare Source

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

v2.2.1

Compare Source

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

v2.2.0

Compare Source

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

v2.1.0

Compare Source

New features
  • Support matches_regex complex test-case (requires with-regex feature) (#​98)
  • Support len, count and empty complex test-cases (#​97)
Bug 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

Bug 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

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

v2.0.0

Compare Source

New 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

  • 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

  • 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

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

v1.2.0

Compare Source

New 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)

v1.1.0

Compare Source

New features
  • Added support for using hamcrest2 assertions with test case
  • Enabled support of async via tokio or similar
  • Enabled attribute passthrough for test cases - it means that you can combine test-case with other testing frameworks,
    given at least one #[test_case] attribute appears before mentioned framework in testing function
Deprecation
  • inconclusive inside test case name will not be supported starting 2.0.0

v1.0.1: TestCase - v1.0.1

Compare Source

Legacy release supporting MSRV < 1.39, including syn::export fix


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 has been generated by Mend Renovate. View repository job log here.

@coveralls
Copy link

coveralls commented Mar 26, 2022

Pull Request Test Coverage Report for Build 3123240936

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

Files with Coverage Reduction New Missed Lines %
crates/proto/src/node/expand_volume.rs 1 0%
crates/proto/src/node/get_volume_stats.rs 1 0%
crates/proto/src/node/publish_volume.rs 1 0%
crates/proto/src/node/unpublish_volume.rs 1 0%
crates/proto/src/node/unstage_volume.rs 1 0%
crates/mount-utils/src/utils.rs 2 92.75%
crates/proto/src/controller/validate_volume_capabilities.rs 2 0%
crates/mount-utils/src/unix.rs 7 55.75%
crates/proto/src/volume.rs 7 0%
Totals Coverage Status
Change from base Build 615100636: 1.6%
Covered Lines: 648
Relevant Lines: 2767

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/test-case-2.x branch from 944c9dd to 06f81ef Compare September 25, 2022 18:39
@renovate renovate bot changed the title Update Rust crate test-case to v2 Update Rust crate test-case to v2 - autoclosed Mar 18, 2023
@renovate renovate bot closed this Mar 18, 2023
@renovate renovate bot deleted the renovate/test-case-2.x branch March 18, 2023 14:11
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