Skip to content

cargo-nextest 0.9.66

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Dec 23:31
· 355 commits to main since this release

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 the OUT_DIR environment 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_DIR environment 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 .crate files uploaded to crates.io now contain the LICENSE-APACHE and LICENSE-MIT license files. Thanks @musicinmybrain for your first contribution!