在运行结束时列出失败的Elixir测试

时间:2018-07-05 10:46:41

标签: elixir ex-unit

每当出现多个失败时,我都很难滚动详细的输出并找到失败的测试。

有没有办法在测试套件运行结束时列出所有失败的测试?

实际

Finished in 12.9 seconds
2 doctests, 241 tests, 6 failures

Randomized with seed 793406

预期

Finished in 12.9 seconds
2 doctests, 241 tests, 3 failures

- test/chat/foo/some_test.exs:111
- test/web/baz/another_test.exs:25
- test/api/yet_another_test.exs:58

Randomized with seed 793406

0 个答案:

没有答案