Usually when I run tests, e.g.
mix test file_name.exs
I see a list of all failed tests.
But for some reason, in a particular project I just see the first failed test.
Is there some configuration for this?
I must be missing something simple…
Usually when I run tests, e.g.
mix test file_name.exs
I see a list of all failed tests.
But for some reason, in a particular project I just see the first failed test.
Is there some configuration for this?
I must be missing something simple…
I have never realised such a behaviour, and I am not aware of such an configuration option.
Perhaps your test crashes ex_unit?
I thought that also, but tried,
assert 0 == 1
and I had the same issue… : /
Odd.
Can you provide a stripped down project that shows the problem?
Embarrassingly, it was me doing several asserts in one long test, and some how thinking of the asserts as individual tests.
So of course, when one assert failed, the remaining assert failures weren’t reported.