summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 04465dd53..030da05e1 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -356,6 +356,25 @@ itest!(steps_dot_ignored_steps {
output: "test/steps/ignored_steps.dot.out",
});
+itest!(steps_tap_passing_steps {
+ args: "test --reporter=tap test/steps/passing_steps.ts",
+ exit_code: 0,
+ output: "test/steps/passing_steps.tap.out",
+});
+
+itest!(steps_tap_failing_steps {
+ args: "test --reporter=tap test/steps/failing_steps.ts",
+ exit_code: 1,
+ envs: vec![("NO_COLOR".to_owned(), "1".to_owned())],
+ output: "test/steps/failing_steps.tap.out",
+});
+
+itest!(steps_tap_ignored_steps {
+ args: "test --reporter=tap test/steps/ignored_steps.ts",
+ exit_code: 0,
+ output: "test/steps/ignored_steps.tap.out",
+});
+
itest!(steps_invalid_usage {
args: "test test/steps/invalid_usage.ts",
exit_code: 1,