#cargo-test #executable #cargo #json #test-output #message #continuous-integration

app parse_test_executable

Simple program to extract executable path from cargo test output

1 unstable release

0.1.0 Jun 8, 2024

#14 in #test-output

MIT/Apache

8KB

parse_test_executable

Simple program to extract executable path from cargo test output.

Specifically, this requires json output from running cargo test --no-run --message-format=json. The executable path is printed to stdout.

The primary use of this program is in continuous integration, allowing the test executable to be obtained programmatically.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1–2MB
~41K SLoC