21 releases

0.10.0 Dec 10, 2023
0.9.2 Sep 27, 2023
0.9.1 Jul 30, 2023
0.8.0 Jan 3, 2023
0.3.0 Mar 22, 2022

#140 in Testing

Download history 2823/week @ 2023-12-23 6127/week @ 2023-12-30 7153/week @ 2024-01-06 11005/week @ 2024-01-13 11455/week @ 2024-01-20 9681/week @ 2024-01-27 12672/week @ 2024-02-03 8744/week @ 2024-02-10 9650/week @ 2024-02-17 11658/week @ 2024-02-24 13624/week @ 2024-03-02 12303/week @ 2024-03-09 12041/week @ 2024-03-16 9570/week @ 2024-03-23 9280/week @ 2024-03-30 8926/week @ 2024-04-06

41,803 downloads per month
Used in 10 crates (5 directly)

MIT/Apache

37KB
536 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.70.

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–2MB
~46K SLoC