mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
029bdf0cd5
This commit adds a "dot" reporter to "deno test" subcommand, that can be activated using "--dot" flag. It provides a concise output using: - "." for passing test - "," for ignored test - "!" for failing test User output is silenced and not printed to the console. In non-TTY environments each result is printed on a separate line.
54 lines
1.5 KiB
Text
54 lines
1.5 KiB
Text
[WILDCARD]
|
|
!
|
|
.
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
|
|
ERRORS
|
|
|
|
nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Failed.
|
|
throw new Error("Failed.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
throw new Error("Fail.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
await t.step("step 2", () => Promise.reject(new Error("Fail.")));
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
throw new Error("Fail.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail test.
|
|
throw new Error("Fail test.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
|
|
FAILED | 0 passed (1 step) | 3 failed (5 steps) ([WILDCARD])
|
|
|
|
error: Test failed
|