Skip to content

Releases: frondeus/test-case

Test Case - v3.3.1

17 Nov 20:15
Compare
Choose a tag to compare

What's Changed

  • Avoid emitting unnecessary error messages by test cases & remove proc-macro2-diagnostics dependency by @dtolnay in #138

New Contributors

Full Changelog: v3.3.0...v3.3.1

Test Case - v3.3.0

17 Nov 09:33
Compare
Choose a tag to compare

What's Changed

  • Fix test_matrix example that does not compile in README by @ollien in #133
  • Add the ability to have comments in matrix tests by @ollien in #132
  • Remove proc-macro-error dependency by @tamird in #136
  • .github: replace actions-rs with dtolnay/rust-toolchain, add caching by @tamird in #137

New Contributors

Full Changelog: v3.2.1...v3.3.0

Test Case - v3.2.1

17 Sep 11:36
Compare
Choose a tag to compare
  • Update syn dependency
  • Ensure that test-case targets latest core and macros subcrates.

Full Changelog: v3.2.0...v3.2.1

Test Case - v3.2.0

16 Sep 23:34
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.2.0

Test Case - v3.1.0

02 Apr 19:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.1.0

Test Case - v3.0.0

13 Feb 08:38
Compare
Choose a tag to compare

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.

TestCase - v2.2.2

01 Oct 09:41
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.1...v2.2.2

TestCase - v2.2.1

21 Jul 20:58
Compare
Choose a tag to compare

Bugfix release - ensure test-case depends on correct version of test-case-macros
Full Changelog: v2.2.0...v2.2.1

TestCase - v2.2.0

21 Jul 20:46
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @ijc made their first contribution in #103

Full Changelog: v2.1.0...v2.2.0

TestCase - v2.1.0

18 May 09:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.1.0