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_DIRenvironment variable at
runtime if there's a corresponding build script. -
While creating archives, nextest now archives
OUT_DIRs 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_DIRenvironment variable continues to be relevant for test runs out of
archives.Currently,
OUT_DIRs 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
.cratefiles uploaded to crates.io now contain theLICENSE-APACHEandLICENSE-MITlicense files. Thanks @musicinmybrain for your first contribution!