Skip to content

Commit fe014ff

Browse files
committed
New version 0.3.0
1 parent 6fa0f26 commit fe014ff

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[workspace.package]
66
edition = "2024"
7-
version = "0.2.0"
7+
version = "0.3.0"
88
authors = ["Matthieu Gautier <[email protected]>"]
99
repository = "https://github.com/mgautierfr/rustest"
1010
homepage = "https://github.com/mgautierfr/rustest"

Changelog.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
# Rustest 0.2.0
1+
# Rustest's Changelog
2+
3+
## [0.3.0] - 2025-06-04
4+
5+
### Added
6+
7+
- New `TempDir` fixture
8+
- New `MatrixUnique` scope (use "matrix" in macro fixture definition)
9+
- Allow custom visibility for Param
10+
- Allow user to give a explicit name for the params
11+
- Various improvements of the CI and github tools (thanks to @rursprung)
12+
13+
### Changed
14+
- `Unique`("unique") scope is now called `Once`("once").
15+
- Introduce `ParamName` trait. User should implement `ParamName` instead of `TestName` when needed.
16+
- Test functions do not need to be `UnwindSafe`. We assume they are with `AssertUnwindSafe`.
17+
18+
### Fixed
19+
20+
- Fix "unique" fixture to not share states.
21+
- Fix `TempFile` fixture to not share states.
22+
- Fix `Global` fixture, to cache the subfixture (as unique scope do not share scope).
23+
24+
## [0.2.0] - 2025-05-19
225

326
- Support unittest.
427
- Better testing of rustest
@@ -13,3 +36,7 @@
1336
- Introduce new crate rustest-fixtures, a collection of standard fixtures.
1437
- Add support for (conditional) ignore test.
1538
- Lot of code improvements.
39+
40+
41+
[0.3.0] https://github.com/mgautierfr/rustest/compare/0.2.0...0.3.0
42+
[0.2.0] https://github.com/mgautierfr/rustest/compare/0.1.0...0.2.0

rustest-fixtures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ keywords.workspace = true
1111
categories.workspace = true
1212

1313
[dependencies]
14-
rustest = { version = "0.2.0", path = "../rustest" }
14+
rustest = { version = "0.3.0", path = "../rustest" }
1515
tempfile = "3.19.1"

rustest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords.workspace = true
1414
ctor = { version = "0.4.1", features = ["__no_warn_on_missing_unsafe"] }
1515
googletest = { version = "0.14.0", optional = true }
1616
libtest-mimic = "0.8.1"
17-
rustest-macro = { version = "0.2.0", path = "../rustest-macro" }
17+
rustest-macro = { version = "0.3.0", path = "../rustest-macro" }
1818

1919
[features]
2020
googletest = ["dep:googletest"]

0 commit comments

Comments
 (0)