Releases: frondeus/test-case
Test Case - v3.3.1
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
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
- Update
syndependency - Ensure that
test-casetargets latestcoreandmacrossubcrates.
Full Changelog: v3.2.0...v3.2.1
Test Case - v3.2.0
What's Changed
- Retain allow attribute in test_case macro by @JohnPeel in #127
- Add test_matrix macro by @overhacked in #128
New Contributors
- @JohnPeel made their first contribution in #127
- @overhacked made their first contribution in #128
Full Changelog: v3.1.0...v3.2.0
Test Case - v3.1.0
What's Changed
- Set MSRV in
Cargo.tomlto 1.58.1 by @samueltardieu in #116 - Set the span of test function Idents to the span of the origin attribute by @rpwachowski in #119
New Contributors
- @samueltardieu made their first contribution in #116
- @rpwachowski made their first contribution in #119
Full Changelog: v3.0.0...v3.1.0
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-corecrate, 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
What's Changed
- Use fully qualified #[test] attribute path by @alanbriolat in #105
New Contributors
- @alanbriolat made their first contribution in #105
Full Changelog: v2.2.1...v2.2.2
TestCase - v2.2.1
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
TestCase - v2.1.0
What's Changed
- Refactoring: move test-case macro to separate subcrate by @luke-biel in #96
- Add 'len', 'count' and 'empty' complex assertions by @luke-biel in #97
- Add
match_regexto complex test-cases by @luke-biel in #98 - Allow keywords in void fn by @luke-biel in #100
Full Changelog: v2.0.2...v2.1.0