Reputation: 45
I'm running some tests using Elixir and ExUnit and I would like to pass a filter on the command line that I can select tests that have one tag but not the other.
Example:
@foo
, @bar
@foo
I'd like to run just the test B with tag @foo
, but not the A one with @foo
and @bar
, how do I achieve this?
Upvotes: 1
Views: 809
Reputation: 121010
mix test
task accepts any number of file names, as well as --include
and --exclude
configs.
More info about tags and filters might be found in the documentation.
Upvotes: 2