neotest-elixir icon indicating copy to clipboard operation
neotest-elixir copied to clipboard

Load state of tests from .mix_test_failures

Open fuelen opened this issue 2 years ago • 1 comments

The idea is to read the file that is used by ExUnit to write failed tests, so next time when you open summary of tests, you can already see failed tests even though they were run from the CLI. https://github.com/elixir-lang/elixir/blob/927b10df80ee1c1c7396e68efe00d06bc3e80420/lib/mix/lib/mix/tasks/test.ex#L751-L767

fuelen avatar Nov 26 '23 09:11 fuelen

Interesting idea. We'll have to see if Neotest supports setting the status of the tests outside a "run" managed by it.

jfpedroza avatar Nov 26 '23 09:11 jfpedroza