#junit #cargo-test #cargo-toml #test

app cargo-test-scripts

A JUnit compatible test script driver

4 stable releases

1.0.3 Feb 28, 2023
1.0.1 Feb 27, 2023

#320 in Cargo plugins

MIT license

16KB
384 lines

cargo-test-scripts

Run test scripts based off metadata descriptions in Cargot.toml and writes the results in JUnit format.

Example entries:

[[package.metadata.test-script]]
name = "test-something"
timeout = 1000 # Timeout in milliseconds
script = [
	"echo hello"
]
[[package.metadata.test-script]]
name = "test-something-else"
script = [
	"echo goodbye"
]

Dependencies

~5–12MB
~110K SLoC