1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli/tests/deno_test.out
Bartek Iwańczuk 8de4a05f2a
fix: std/testing/runner.ts and deno test (#4392)
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1.

* fixed argument value passed to Deno.runTests() in deno test
* fixed argument value passed to Deno.runTests() in std/testing/runner.ts
* added integration tests for deno test to ensure failFast and exitOnFail work as expected
* don't write test file to file system, but keep it in memory
2020-03-19 14:26:47 +01:00

25 lines
422 B
Text

running 4 tests
test fail1 ... FAILED [WILDCARD]
test fail2 ... FAILED [WILDCARD]
test success1 ... ok [WILDCARD]
test fail3 ... FAILED [WILDCARD]
failures:
fail1
AssertionError: fail1 assertion
[WILDCARD]
fail2
AssertionError: fail2 assertion
[WILDCARD]
fail3
AssertionError: fail3 assertion
[WILDCARD]
failures:
[WILDCARD]
test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]