mix test runs an Elixir project's tests from its Mix project directory. It provides the practical test-running step after project generation and compilation. section 7.1 section 2.7.2
Use it alongside other Mix commands: mix new creates the project, mix compile builds lib files, and mix test executes the generated test suite. section 7.1 section 2.7.2
$ mix test .. Finished in 0.03 seconds 2 tests, 0 failures
A minimal successful run reports progress, elapsed time, the number of tests, and failures. section 2.7.2
