代码之家  ›  专栏  ›  技术社区  ›  Dennis

在运行结束时列出失败的灵丹妙药测试

  •  3
  • Dennis  · 技术社区  · 8 年前

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

    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 回复  |  直到 8 年前