summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/steps
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/test/steps')
-rw-r--r--cli/tests/testdata/test/steps/failing_steps.out27
-rw-r--r--cli/tests/testdata/test/steps/ignored_steps.out8
-rw-r--r--cli/tests/testdata/test/steps/invalid_usage.out57
-rw-r--r--cli/tests/testdata/test/steps/passing_steps.out48
4 files changed, 71 insertions, 69 deletions
diff --git a/cli/tests/testdata/test/steps/failing_steps.out b/cli/tests/testdata/test/steps/failing_steps.out
index 6fad8078b..0724da178 100644
--- a/cli/tests/testdata/test/steps/failing_steps.out
+++ b/cli/tests/testdata/test/steps/failing_steps.out
@@ -1,25 +1,25 @@
[WILDCARD]
-running 3 tests from [WILDCARD]/failing_steps.ts
-test nested failure ...
- test step 1 ...
- test inner 1 ... FAILED ([WILDCARD])
+running 3 tests from test/steps/failing_steps.ts
+nested failure ...
+ step 1 ...
+ inner 1 ... FAILED ([WILDCARD])
Error: Failed.
at [WILDCARD]/failing_steps.ts:[WILDCARD]
[WILDCARD]
- test inner 2 ... ok ([WILDCARD])
+ inner 2 ... ok ([WILDCARD])
FAILED ([WILDCARD])
FAILED ([WILDCARD])
-test multiple test step failures ...
- test step 1 ... FAILED ([WILDCARD])
+multiple test step failures ...
+ step 1 ... FAILED ([WILDCARD])
Error: Fail.
[WILDCARD]
- test step 2 ... FAILED ([WILDCARD])
+ step 2 ... FAILED ([WILDCARD])
Error: Fail.
at [WILDCARD]/failing_steps.ts:[WILDCARD]
[WILDCARD]
FAILED ([WILDCARD])
-test failing step in failing test ...
- test step 1 ... FAILED ([WILDCARD])
+failing step in failing test ...
+ step 1 ... FAILED ([WILDCARD])
Error: Fail.
at [WILDCARD]/failing_steps.ts:[WILDCARD]
at [WILDCARD]
@@ -27,23 +27,24 @@ FAILED ([WILDCARD])
failures:
-nested failure
+test/steps/failing_steps.ts > nested failure
Error: 1 test step failed.
at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])
-multiple test step failures
+test/steps/failing_steps.ts > multiple test step failures
Error: 2 test steps failed.
at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])
-failing step in failing test
+test/steps/failing_steps.ts > failing step in failing test
Error: Fail test.
at [WILDCARD]/failing_steps.ts:[WILDCARD]
at [WILDCARD]
failures:
+ test/steps/failing_steps.ts
nested failure
multiple test step failures
failing step in failing test
diff --git a/cli/tests/testdata/test/steps/ignored_steps.out b/cli/tests/testdata/test/steps/ignored_steps.out
index c71c603b3..a045574bb 100644
--- a/cli/tests/testdata/test/steps/ignored_steps.out
+++ b/cli/tests/testdata/test/steps/ignored_steps.out
@@ -1,8 +1,8 @@
[WILDCARD]
-running 1 test from [WILDCARD]/ignored_steps.ts
-test ignored step ...
- test step 1 ... ignored ([WILDCARD])
- test step 2 ... ok ([WILDCARD])
+running 1 test from test/steps/ignored_steps.ts
+ignored step ...
+ step 1 ... ignored ([WILDCARD])
+ step 2 ... ok ([WILDCARD])
ok ([WILDCARD])
test result: ok. 1 passed (1 step); 0 failed; 0 ignored (1 step); 0 measured; 0 filtered out [WILDCARD]
diff --git a/cli/tests/testdata/test/steps/invalid_usage.out b/cli/tests/testdata/test/steps/invalid_usage.out
index 6eba626b6..f64f148b7 100644
--- a/cli/tests/testdata/test/steps/invalid_usage.out
+++ b/cli/tests/testdata/test/steps/invalid_usage.out
@@ -1,14 +1,14 @@
[WILDCARD]
-running 7 tests from [WILDCARD]/invalid_usage.ts
-test capturing ...
- test some step ... ok ([WILDCARD])
+running 7 tests from test/steps/invalid_usage.ts
+capturing ...
+ some step ... ok ([WILDCARD])
FAILED ([WILDCARD])
-test top level missing await ...
- test step ... pending ([WILDCARD])
+top level missing await ...
+ step ... pending ([WILDCARD])
FAILED ([WILDCARD])
-test inner missing await ...
- test step ...
- test inner ... pending ([WILDCARD])
+inner missing await ...
+ step ...
+ inner ... pending ([WILDCARD])
Error: Parent scope completed before test step finished execution. Ensure all steps are awaited (ex. `await t.step(...)`).
at postValidation [WILDCARD]
at testStepSanitizer [WILDCARD]
@@ -19,9 +19,9 @@ test inner missing await ...
at async fn ([WILDCARD]/invalid_usage.ts:[WILDCARD])
at async Object.testStepSanitizer [WILDCARD]
FAILED ([WILDCARD])
-test parallel steps with sanitizers ...
- test step 1 ... pending ([WILDCARD])
- test step 2 ... FAILED ([WILDCARD])
+parallel steps with sanitizers ...
+ step 1 ... pending ([WILDCARD])
+ step 2 ... FAILED ([WILDCARD])
Error: Cannot start test step while another test step with sanitizers is running.
* parallel steps with sanitizers > step 1
at preValidation ([WILDCARD])
@@ -29,9 +29,9 @@ test parallel steps with sanitizers ...
at [WILDCARD]/invalid_usage.ts:[WILDCARD]
at [WILDCARD]
FAILED ([WILDCARD])
-test parallel steps when first has sanitizer ...
- test step 1 ... pending ([WILDCARD])
- test step 2 ... FAILED ([WILDCARD])
+parallel steps when first has sanitizer ...
+ step 1 ... pending ([WILDCARD])
+ step 2 ... FAILED ([WILDCARD])
Error: Cannot start test step while another test step with sanitizers is running.
* parallel steps when first has sanitizer > step 1
at preValidation ([WILDCARD])
@@ -39,9 +39,9 @@ test parallel steps when first has sanitizer ...
at [WILDCARD]/invalid_usage.ts:[WILDCARD]
at [WILDCARD]
FAILED ([WILDCARD])
-test parallel steps when second has sanitizer ...
- test step 1 ... ok ([WILDCARD])
- test step 2 ... FAILED ([WILDCARD])
+parallel steps when second has sanitizer ...
+ step 1 ... ok ([WILDCARD])
+ step 2 ... FAILED ([WILDCARD])
Error: Cannot start test step with sanitizers while another test step is running.
* parallel steps when second has sanitizer > step 1
at preValidation ([WILDCARD])
@@ -49,12 +49,12 @@ test parallel steps when second has sanitizer ...
at [WILDCARD]/invalid_usage.ts:[WILDCARD]
at [WILDCARD]
FAILED ([WILDCARD])
-test parallel steps where only inner tests have sanitizers ...
- test step 1 ...
- test step inner ... ok ([WILDCARD])
+parallel steps where only inner tests have sanitizers ...
+ step 1 ...
+ step inner ... ok ([WILDCARD])
ok ([WILDCARD])
- test step 2 ...
- test step inner ... FAILED ([WILDCARD])
+ step 2 ...
+ step inner ... FAILED ([WILDCARD])
Error: Cannot start test step with sanitizers while another test step is running.
* parallel steps where only inner tests have sanitizers > step 1
at preValidation ([WILDCARD])
@@ -65,40 +65,41 @@ FAILED ([WILDCARD])
failures:
-capturing
+test/steps/invalid_usage.ts > capturing
Error: Cannot run test step after parent scope has finished execution. Ensure any `.step(...)` calls are executed before their parent scope completes execution.
at TestContext.step ([WILDCARD])
at [WILDCARD]/invalid_usage.ts:[WILDCARD]
at [WILDCARD]
-top level missing await
+test/steps/invalid_usage.ts > top level missing await
Error: There were still test steps running after the current scope finished execution. Ensure all steps are awaited (ex. `await t.step(...)`).
at postValidation [WILDCARD]
at testStepSanitizer ([WILDCARD])
[WILDCARD]
-inner missing await
+test/steps/invalid_usage.ts > inner missing await
Error: 1 test step failed.
at [WILDCARD]
-parallel steps with sanitizers
+test/steps/invalid_usage.ts > parallel steps with sanitizers
Error: There were still test steps running after the current scope finished execution. Ensure all steps are awaited (ex. `await t.step(...)`).
at postValidation [WILDCARD]
at testStepSanitizer ([WILDCARD])
[WILDCARD]
-parallel steps when first has sanitizer
+test/steps/invalid_usage.ts > parallel steps when first has sanitizer
Error: 1 test step failed.
at runTest ([WILDCARD])
at [WILDCARD]
-parallel steps when second has sanitizer
+test/steps/invalid_usage.ts > parallel steps when second has sanitizer
Error: 1 test step failed.
at runTest ([WILDCARD])
at [WILDCARD]
failures:
+ test/steps/invalid_usage.ts
capturing
top level missing await
inner missing await
diff --git a/cli/tests/testdata/test/steps/passing_steps.out b/cli/tests/testdata/test/steps/passing_steps.out
index 99834d675..4d876b7d5 100644
--- a/cli/tests/testdata/test/steps/passing_steps.out
+++ b/cli/tests/testdata/test/steps/passing_steps.out
@@ -1,38 +1,38 @@
[WILDCARD]
-running 5 tests from [WILDCARD]
-test description ...
- test step 1 ...
- test inner 1 ... ok ([WILDCARD]ms)
- test inner 2 ... ok ([WILDCARD]ms)
+running 5 tests from test/steps/passing_steps.ts
+description ...
+ step 1 ...
+ inner 1 ... ok ([WILDCARD]ms)
+ inner 2 ... ok ([WILDCARD]ms)
ok ([WILDCARD]ms)
ok ([WILDCARD]ms)
-test parallel steps without sanitizers ...
- test step 1 ... ok ([WILDCARD])
- test step 2 ... ok ([WILDCARD])
+parallel steps without sanitizers ...
+ step 1 ... ok ([WILDCARD])
+ step 2 ... ok ([WILDCARD])
ok ([WILDCARD])
-test parallel steps without sanitizers due to parent ...
- test step 1 ... ok ([WILDCARD])
- test step 2 ... ok ([WILDCARD])
+parallel steps without sanitizers due to parent ...
+ step 1 ... ok ([WILDCARD])
+ step 2 ... ok ([WILDCARD])
ok ([WILDCARD])
-test steps with disabled sanitizers, then enabled, then parallel disabled ...
- test step 1 ...
- test step 1 ...
- test step 1 ...
- test step 1 ... ok ([WILDCARD])
- test step 1 ... ok ([WILDCARD])
+steps with disabled sanitizers, then enabled, then parallel disabled ...
+ step 1 ...
+ step 1 ...
+ step 1 ...
+ step 1 ... ok ([WILDCARD])
+ step 1 ... ok ([WILDCARD])
ok ([WILDCARD])
- test step 2 ... ok ([WILDCARD])
+ step 2 ... ok ([WILDCARD])
ok ([WILDCARD])
ok ([WILDCARD])
ok ([WILDCARD])
-test steps buffered then streaming reporting ...
- test step 1 ...
- test step 1 - 1 ... ok ([WILDCARD])
- test step 1 - 2 ...
- test step 1 - 2 - 1 ... ok ([WILDCARD])
+steps buffered then streaming reporting ...
+ step 1 ...
+ step 1 - 1 ... ok ([WILDCARD])
+ step 1 - 2 ...
+ step 1 - 2 - 1 ... ok ([WILDCARD])
ok ([WILDCARD])
ok ([WILDCARD])
- test step 2 ... ok ([WILDCARD])
+ step 2 ... ok ([WILDCARD])
ok ([WILDCARD])
test result: ok. 5 passed (18 steps); 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]