Skip to content

Commit 6f8ae5c

Browse files
committed
Bump version to 3.2.0
1 parent 04935d4 commit 6f8ae5c

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## 3.2.0
44
### New features
5-
* Add `test_matrix` macro: generates test cases from Cartesian product of possible test function argument values.
5+
* Add `test_matrix` macro: generates test cases from Cartesian product of possible test function argument values (#128)
6+
7+
### Changes
8+
* Retain `allow` attributes on test functions (#127)
69

710
## 3.1.0
811
### New features

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Crate has to be added as a dependency to `Cargo.toml`:
1616

1717
```toml
1818
[dev-dependencies]
19-
test-case = "3.1.0"
19+
test-case = "3.2.0"
2020
```
2121

2222
and imported to the scope of a block where it's being called
@@ -64,12 +64,12 @@ Cartesian product of one or more possible values for each test function argument
6464
number of arguments to the `test_matrix` macro must be the same as the number of arguments to
6565
the test function. Each macro argument can be:
6666

67-
1. A list in array (`[x, y, ...]`) or tuple (`(x, y, ...)`) syntax. The values can be any
68-
valid [expression](https://doc.rust-lang.org/reference/expressions.html).
69-
2. A closed numeric range expression (e.g. `0..100` or `1..=99`), which will generate
70-
argument values for all integers in the range.
71-
3. A single expression, which can be used to keep one argument constant while varying the
72-
other test function arguments using a list or range.
67+
1. A list in array (`[x, y, ...]`) or tuple (`(x, y, ...)`) syntax. The values can be any
68+
valid [expression](https://doc.rust-lang.org/reference/expressions.html).
69+
2. A closed numeric range expression (e.g. `0..100` or `1..=99`), which will generate
70+
argument values for all integers in the range.
71+
3. A single expression, which can be used to keep one argument constant while varying the
72+
other test function arguments using a list or range.
7373

7474
#### Example usage:
7575

crates/test-case-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case-core"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides core functionality for parsing #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

crates/test-case-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case-macros"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//!
88
//! ```toml
99
//! [dev-dependencies]
10-
//! test-case = "3.1.0"
10+
//! test-case = "3.2.0"
1111
//! ```
1212
//!
1313
//! and imported to the scope of a block where it's being called

0 commit comments

Comments
 (0)