Excheck not showing fixture for failing test cases

Hi,

from Programming Elixir 1.3 under property based testing it seems to show that for failing tests ExCheck will display the fixtures for the failing test cases. Something like

Failed after 1 tests with {‘EXIT’,badarith}
​ Simplified:
​ l =

​ Finished in 0.1 seconds
​ 301 tests, 1 failure

But when i tried it myself i do not see that.

  1. test Stats on lists of ints sum equals average times count_property (StatsPropertyTest)
    test/stats_property_test.exs:17
    ** (ExCheck.Error) check failed: {:EXIT, :badarith}
    stacktrace:
    (excheck) lib/excheck.ex:55: ExCheck.check/2
    test/stats_property_test.exs:17: (test)

Finished in 0.1 seconds
409 tests, 1 failure

Is it a configuration i have to turn on? Or this feature has been removed? I find this very useful and don’t understand why it should be removed.

It is not removed, and it does indeed work, however yours is not an assert failure, yours is a process crash, and you did not check for a process crash. You are having a bad arithmetic error, not an assert error. ^.^