diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-10-11 09:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 09:45:02 -0400 |
commit | 426ebf854a82c63cdaa2413fbd1b005025dba95b (patch) | |
tree | 316a426e280db29745444e7606952c8c235c846a /cli/tests/integration/test_tests.rs | |
parent | 668b400ff2fa5634f575e54f40ab1f0b78fcdf16 (diff) |
feat(unstable/test): imperative test steps API (#12190)
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r-- | cli/tests/integration/test_tests.rs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 24ceeefb4..3ea8186b8 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -186,3 +186,39 @@ itest!(aggregate_error { exit_code: 1, output: "test/aggregate_error.out", }); + +itest!(steps_passing_steps { + args: "test --unstable test/steps/passing_steps.ts", + exit_code: 0, + output: "test/steps/passing_steps.out", +}); + +itest!(steps_passing_steps_concurrent { + args: "test --unstable --jobs=2 test/steps/passing_steps.ts", + exit_code: 0, + output: "test/steps/passing_steps.out", +}); + +itest!(steps_failing_steps { + args: "test --unstable test/steps/failing_steps.ts", + exit_code: 1, + output: "test/steps/failing_steps.out", +}); + +itest!(steps_ignored_steps { + args: "test --unstable test/steps/ignored_steps.ts", + exit_code: 0, + output: "test/steps/ignored_steps.out", +}); + +itest!(steps_invalid_usage { + args: "test --unstable test/steps/invalid_usage.ts", + exit_code: 1, + output: "test/steps/invalid_usage.out", +}); + +itest!(steps_no_unstable_flag { + args: "test test/steps/no_unstable_flag.ts", + exit_code: 1, + output: "test/steps/no_unstable_flag.out", +}); |