Crate nextest_metadata[][src]

Expand description

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

Implemented so far:

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);

Structs

Command builder for cargo nextest list.

Serializable information about an individual test case within a Rust test suite.

A serializable suite of tests within a Rust test binary.

Root element for a serializable list of tests generated by nextest.

Enums

An error that occurs while running a cargo nextest command.

An enum describing whether a test matches a filter.

The reason for why a test doesn’t match a filter.

Documented exit codes for cargo nextest failures.