View Source mix selective_test (Freecodecamp using Elixir v0.2.0)

Usage

mix selective_test [module, ...]

Running e.g. mix selective_test basic_algo will only include tests from test/basic_algo_test.exs. Note: these command is not to be ran inside iex, rather run this in your OS shell.

To view this via terminal:

mix help selective_test

Example

Another way to call it:

# specific test
mix selective_test basic_algo

# two or more
mix test --exclude intermediate_algo basic_algo