26 unstable releases (11 breaking)

0.12.1 Sep 5, 2024
0.11.3 Aug 25, 2024
0.11.0 May 23, 2024
0.10.0 Dec 10, 2023
0.3.0 Mar 22, 2022

#125 in Testing

Download history 13950/week @ 2024-08-23 12259/week @ 2024-08-30 12923/week @ 2024-09-06 12112/week @ 2024-09-13 14066/week @ 2024-09-20 13657/week @ 2024-09-27 14607/week @ 2024-10-04 12772/week @ 2024-10-11 11555/week @ 2024-10-18 15043/week @ 2024-10-25 14237/week @ 2024-11-01 24885/week @ 2024-11-08 26611/week @ 2024-11-15 23993/week @ 2024-11-22 24433/week @ 2024-11-29 25174/week @ 2024-12-06

104,964 downloads per month
Used in 17 crates (5 directly)

MIT/Apache

42KB
586 lines

nextest-metadata

nextest-metadata on crates.io Documentation (latest release) Documentation (main) Changelog License License

This crate contains deserializers for machine-readable output generated by cargo-nextest.

Implemented so far:

  • ✅ Listing tests with TestListSummary
  • ✅ Semantic exit codes with NextestExitCode

Examples

Get the list of tests in the repository:

// This example requires `cargo nextest` to be installed.

use nextest_metadata::ListCommand;

let command = ListCommand::new();
let test_list = command.exec().unwrap();

// The result is a TestListSummary.
println!("{:?}", test_list);

Minimum supported Rust version (MSRV)

The minimum supported Rust version is Rust 1.73.

While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release. Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.

Minimum supported cargo-nextest version

The "minimum supported cargo-nextest version" is cargo-nextest 0.9.15.

For more about nextest-metadata's stability policy, see the Stability page on the nextest site.

Contributing

See the CONTRIBUTING file for how to help out.

License

This project is available under the terms of either the Apache 2.0 license or the MIT license.

Dependencies

~1.3–2.2MB
~48K SLoC