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

build(deps): update test-case requirement from 1.0.0 to 3.0.0 #246

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Updates the requirements on test-case to permit the latest version.

Release notes

Sourced from test-case's releases.

Test Case - v3.0.0

Overview

This crate provides the #[test_case] procedural macro attribute that generates multiple parametrized tests using one body with different input parameters. A test is generated for each data set passed in the test_case attribute. Under the hood, all test cases that share the same body are grouped into a mod, giving clear and readable test results.

Changes

  • Split out test-case-core crate, allowing easier reuse in external crates. By @​evforde

IMPORTANT

Starting with the 3.0 release, we are changing test-case MSRV policy. We no longer can maintain our goal of only bumping MSRV with major SemVer releases partly due to how fast rust landscape changes and partly to how the rest of the rust ecosystem prefers instead not to keep MSRV breakage treated as SemVer breakage, making stricter policies hard to maintain with limited resources we have. The current goal is to support up to 3 of the latest stable releases. We hope that with this change, we'll be able to speed up test-case's maintenance processes and add more features in the coming months.

Changelog

Sourced from test-case's changelog.

3.0.0

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

Changes

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

2.2.2

Bugfixes

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

2.2.1

Bugfixes

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

2.2.0

New features

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

2.1.0

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)

2.0.2

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)

2.0.1

Bug fixes

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

2.0.0

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

... (truncated)

Commits
  • aa655a3 Include 'test-case-core' in the version bump
  • b093c70 Bump version to 3.0
  • 70a962f Separate parsing utils into new test-case-utils crate (#114)
  • 5755171 Update test-case msrv policy (#115)
  • 29db360 Bump version to v2.2.2
  • 2c05a1b Use fully qualified #[test] attribute path (#105)
  • c22709f Lock dependency versions in child crates
  • 5f5c695 Update tests to latest nightly and stable
  • 4cc37f1 Lock once-cell version
  • 72d2472 Bump version to 2.2.1
  • Additional commits viewable in compare view

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 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 [test-case](https://github.com/frondeus/test-case) to permit the latest version.
- [Release notes](https://github.com/frondeus/test-case/releases)
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md)
- [Commits](frondeus/test-case@v1.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: test-case
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants