Releases: nextest-rs/nextest
Releases · nextest-rs/nextest
nextest-runner 0.8.0
Added
- Support for creating and running archives of test binaries.
- Most of the new logic is within a new
reuse_build
module.
- Most of the new logic is within a new
- Non-test binaries and dynamic libraries are now recorded in
BinaryList
.
Fixed
Fix for experimental feature filter expressions:
- Fix test filtering when expression filters are set but name-based filters aren't.
Changed
- MSRV bumped to Rust 1.59.
nextest-metadata 0.4.0
Added
- Support for archiving test binaries:
- Non-test binaries and dynamic libraries are now recorded to
RustBuildMetaSummary
.
- Non-test binaries and dynamic libraries are now recorded to
Changed
- Minimum supported nextest version bumped to 0.9.15.
- MSRV bumped to 1.59.
cargo-nextest 0.9.15
Added
- Improved support for reusing builds:
- New command
cargo nextest archive
automatically archives test binaries and other relevant
files after building tests. Currently the.tar.zst
format is supported. - New option
cargo nextest run --archive-file
automatically extracts archives before running the tests within them. - New runtime environment variable
NEXTEST_BIN_EXE_<name>
is set to the absolute path to a binary target's executable, taking path remapping into account. This is equivalent toCARGO_BIN_EXE_<name>
, except this is set at runtime. cargo nextest list --list-type binaries-only
now records information about non-test binaries as well.
- New command
Fixed
Fix for experimental feature filter expressions:
- Fix test filtering when expression filters are set but name-based filters aren't.
nextest-runner 0.7.0
Fixed
PathMapper
now canonicalizes the remapped workspace and target directories (and returns an error if that was unsuccessful).- If the workspace directory is remapped,
CARGO_MANIFEST_DIR
in tests' runtime environment is set to the new directory.
cargo-nextest 0.9.14
Fixed
Fixes related to path remapping:
- Directories passed into
--workspace-remap
and--target-dir-remap
are now canonicalized. - If the workspace directory is remapped,
CARGO_MANIFEST_DIR
in tests' runtime environment is set to the new directory.
nextest-runner 0.6.0
Added
- Experimental support for filter expressions.
nextest-metadata 0.3.1
Added
- New exit code:
INVALID_FILTER_EXPRESSION
.
nextest-filtering 0.1.0
Initial release.
cargo-nextest 0.9.13
Added
-
Support for reusing builds is now production-ready. Build on one machine and run tests on another, including cross-compiling and test partitioning.
To see how builds can be reused in GitHub Actions, see this example.
-
Experimental support for filter expressions, allowing fine-grained specifications for which tests to run.
Thanks to Guiguiprim for their fantastic work implementing both of these.
nextest-runner 0.5.0
Added
BinaryList
andTestList
have a new member calledrust_build_meta
, which returns Rust build-related metadata for a binary list or test list. This currently contains the target directory, the base output directories, and paths to search for dynamic libraries in relative to the target directory.
Changed
- MSRV bumped to Rust 1.56.