Closed as duplicate of#14393
Description
I've had multiple occasions recently where I needed to know which tests ExUnit would run given some configuration. For example, if I run
MIX_TEST_PARTITION=5 mix test --partitions 6
or
mix test --only flaky
There's a "trick" to use which is to add --trace
and go through the list of tests that run, but that's not very tool friendly.
I’m thinking we might introduce an API for printing out a test plan. It could be just that, without running the tests:
mix test.plan [flags]
or just printing out the plan before starting the suite:
mix test --print-plan [flags]
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels