How can I list all the skipped tests along with the reason of skipping?

Some times ExUnit skips some tests for reasons I am not sure of:

677 tests, 0 failures, 3 skipped

How can I list all the skipped tests along with the reason of skipping? Is it even possible?

1 Like

They are tagged with @tag :skip.

I don’t know how you can just list them though.

2 Likes

Thanks!

1 Like

You can set the test runner to trace and run only the skipped tests.
mix test --only skip --trace

1 Like