v4.1.0 - More commands!
Added
-
This version adds a number of new commands for controlling additional
mix testoptions interactively:d <seed>/d: Set or clear the seed to use when running tests (mix test --seed <seed>). (#112)i <tags...>/i: Set or clear tags to include (mix test --include <tag1> --include <tag2>...). (#113)o <tags...>/o: Set or clear "only" tags (mix test --only <tag1> --only <tag2>...). (#113)x <tags...>/x: Set or clear tags to exclude (mix test --exclude <tag1> --exclude <tag2>...). (#113)m <max>/m: Set or clear the maximum number of failures to allow (mix test --max-failures <max>). (#116)r <count>//r: Set or clear the maximum number of repeated runs until a test failure (mix test --repeat-until-failure <count>). NOTE:mix testonly supports this option in v1.17.0 and later. (#118)t: Toggle test tracing on/off (mix test --trace). (#117)
-
There is now a
MixTestInteractive.TestRunnerbehaviour for use in custom test runners. Up until now, custom test runners needed to implement a singlerun/2function. This release adds a behaviour that custom test runners can implement to ensure that they've correctly conformed to the interface. Custom test runners don't have to explicitly implement the behaviour, but must implicitly do so as before. (#115)