Releases: nextest-rs/nextest
cargo-nextest 0.9.66
Added
Experimental feature: machine-readable output for test runs
Nextest now has experimental support for machine-readable output during cargo nextest run
invocations (#1086), in a format similar to cargo test
's libtest JSON output. For more information, see the documentation.
Thanks Jake Shadle for your contribution!
OUT_DIR
support
Improvements to build script OUT_DIR
support:
-
Matching the behavior of
cargo test
, nextest now sets theOUT_DIR
environment variable at
runtime if there's a corresponding build script. -
While creating archives, nextest now archives
OUT_DIR
s if:- The build script is for a crate in the workspace, and
- There's at least one test binary for that crate.
This is so that the
OUT_DIR
environment variable continues to be relevant for test runs out of
archives.Currently,
OUT_DIR
s are only archived one level deep to avoid bloating archives too much. In the
future, we may add configuration to archive more or less of the output directory. If you have a
use case that would benefit from this, please file an
issue.
Misc
- The
.crate
files uploaded to crates.io now contain theLICENSE-APACHE
andLICENSE-MIT
license files. Thanks @musicinmybrain for your first contribution!
cargo-nextest 0.9.65
Added
Experimental feature: machine-readable output for test runs
Nextest now has experimental support for machine-readable output during cargo nextest run
invocations (#1086), in a format similar to cargo test
's libtest JSON output. For more information, see the documentation.
Thanks Jake Shadle for your contribution!
OUT_DIR
support
Improvements to build script OUT_DIR
support:
-
Matching the behavior of
cargo test
, nextest now sets theOUT_DIR
environment variable at
runtime if there's a corresponding build script. -
While creating archives, nextest now archives
OUT_DIR
s if:- The build script is for a crate in the workspace, and
- There's at least one test binary for that crate.
This is so that the
OUT_DIR
environment variable continues to be relevant for test runs out of
archives.Currently,
OUT_DIR
s are only archived one level deep to avoid bloating archives too much. In the
future, we may add configuration to archive more or less of the output directory. If you have a
use case that would benefit from this, please file an
issue.
Misc
- The
.crate
files uploaded to crates.io now contain theLICENSE-APACHE
andLICENSE-MIT
license files. Thanks @musicinmybrain for your first contribution!
nextest-runner 0.51.0
See the changelog for cargo-nextest 0.9.64.
nextest-metadata 0.9.3
Added
- New method
RustBinaryId::from_parts
to construct aRustBinaryId
from its constituent parts. - Stabilized and documented the binary ID format.
nextest-filtering 0.6.0
Added
- Support for glob matchers.
- Support for a new
binary_id
predicate.
For more information, see the changelog for cargo-nextest 0.9.64.
cargo-nextest 0.9.64
Added
- Stabilized and documented the binary ID format.
- Support for glob matchers in filter expressions. For example,
package(foo*)
will match all tests whose names start withfoo
. - A new
binary_id()
predicate matches against the binary ID.
Changed
-
Unit tests in proc-macro crates now have a binary ID that consists of just the crate name, similar to unit tests in normal crates.
-
The default string matcher for the following predicates has changed from equality to glob:
- Package-related matchers:
package()
,deps()
, andrdeps()
- Binary-related matchers:
binary()
The new
binary_id()
predicate also uses the glob matcher by default. - Package-related matchers:
Fixed
- Fixed a regression with some Cargo nightly-only features: see guppy-rs/guppy#174 for more details.
nextest-runner 0.50.0
See the changelog for cargo-nextest 0.9.63.
cargo-nextest 0.9.63
Fixed
- Fixed regressions under some Cargo edge cases, e.g. guppy-rs/guppy#157.
cargo-nextest 0.9.63-rc.1
Fixed
- Fixed regressions under some Cargo edge cases, e.g. guppy-rs/guppy#157.
nextest-runner 0.49.0
See the changelog for cargo-nextest 0.9.62.