Skip to content

Commit

Permalink
Bump version to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-biel committed Sep 16, 2023
1 parent 04935d4 commit 6f8ae5c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog

## [Unreleased]
## 3.2.0
### New features
* Add `test_matrix` macro: generates test cases from Cartesian product of possible test function argument values.
* Add `test_matrix` macro: generates test cases from Cartesian product of possible test function argument values (#128)

### Changes
* Retain `allow` attributes on test functions (#127)

## 3.1.0
### New features
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case"
version = "3.1.0"
version = "3.2.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Crate has to be added as a dependency to `Cargo.toml`:

```toml
[dev-dependencies]
test-case = "3.1.0"
test-case = "3.2.0"
```

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

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

#### Example usage:

Expand Down
2 changes: 1 addition & 1 deletion crates/test-case-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case-core"
version = "3.1.0"
version = "3.2.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides core functionality for parsing #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-case-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case-macros"
version = "3.1.0"
version = "3.2.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//!
//! ```toml
//! [dev-dependencies]
//! test-case = "3.1.0"
//! test-case = "3.2.0"
//! ```
//!
//! and imported to the scope of a block where it's being called
Expand Down

0 comments on commit 6f8ae5c

Please sign in to comment.