Add --name-pattern option to mix test
Allow to distinguish the exit status between warnings as errors and test failures
Ensure modules are preloaded in mix test --slowest-modules=N
Module
44 changes across 23 versions
Changes by version
Add --name-pattern option to mix test
Allow to distinguish the exit status between warnings as errors and test failures
Ensure modules are preloaded in mix test --slowest-modules=N
Taint failure manifest if requiring or compiling tests fail
:warnings_as_errors configuration in :test_elixirc_options is deprecated. Instead pass the --warnings-as-errors flag to mix test. Alternatively, you might alias the task: aliases: [test: "test --warnings-as-errors"]
Add mix test --breakpoints that sets up a breakpoint before each test that will run
Add mix test --repeat-until-failure to rerun tests until a failure occurs
Add mix test --slowest-modules to print slowest modules based on all of the tests they hold
Generate cover HTML files in parallel
Properly resolve relative paths when running tests from individual files
Properly resolve Windows paths when running tests from individual files
Allow testing multiple file:line at once, such as mix test test/foo_test.exs:13 test/bar_test.exs:27
Ensure proper error message when there is no test directory
Accept --all-warnings option
Improve error message when suite fails due to coverage
Support :test_elixirc_options and default to not generating docs nor debug info chunk for tests
Fix total coverage always showing in red even when above the threshold
Print a message when the suite fails due to the coverage threshold
Support --profile-require=time to profile the time loading test files themselves
Allow filtering modules from coverage using regex
Allow the exit status of ExUnit to be configured and set the default to 2
Exit with a status of 3 when coverage falls below threshold
Write failed manifest when suite fails due to --warnings-as-errors
Ignore MIX_TEST_PARTITION when partitions set to 1
Fix coverage engine to also tag case, cond, and receive branches where the right side is a literal
Do not run the whole suite when there are no --failed tests as it won't behave as expected inside umbrellas
Run all available tests if there are no pending --failed tests. This provides a better workflow as you no longer need to toggle the --failed flag between runs
Ensure protocols within the current project are consolidated when --cover is given
Allow :ignore_modules inside :test_coverage option
Compare to test coverage threshold inclusively
Add support for simple round-robin test partitioning across multiple machines
Allow running tests for a given umbrella app from the umbrella root with mix test apps/APP/test. Test failures also include the apps/APP prefix in the test location
Do not consider modules that are no longer cover compiled when computing coverage report, which could lead to flawed reports
Allow setting the maximum number of failures via --max-failures
Print a message instead of raising on unmatched tests inside umbrella projects
Ensure that --cover displays correct coverage in an umbrella app
Do not fail suite if there are no test files
Add --failed option that only runs previously failed tests
Print coverage summary by default when the --cover flag is given
Run all functions in a describe block by giving the file:line the describe block starts
Report the top N slowest tests with the --slowest N flag
Report the number of doctests and tests separately
Do not trigger additional error reports when there is a failure when loading test files
Add --formatter option to mix test