Skip to content
Myr

Faster tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent c0ce6b9 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • tests:+3 added−0 removed

1 file+3 added−0 removed

modified:tests/integration_tests.rs+3 added
73 unmodified lines
7475#[test]76fn fails_for_unknown_command() {77 hyperfine()78 .arg("--runs=1")79 .arg("some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577")80 .assert()81 .failure()82 .stderr(predicate::str::contains(
3 unmodified lines
8687#[test]88fn fails_for_unknown_setup_command() {89 hyperfine()90 .arg("--runs=1")91 .arg("--setup=some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577")92 .arg("echo test")93 .assert()94 .failure()
4 unmodified lines
99100#[test]101fn fails_for_unknown_cleanup_command() {102 hyperfine()103 .arg("--runs=1")104 .arg("--cleanup=some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577")105 .arg("echo test")106 .assert()107 .failure()
52 unmodified lines