Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Things I learned about ExUnit
Run tests:
mix test
Run single test file:
mix test path/to/file
Run single test:
mix test path/to/file:nn
Pending tests:
@tag :pending
test "//;\n1;2 is 3" do
assert 1+2 == StringCalculator.add("//;\n1;2")
end
mix test --exclude pending:true
Running tests in verbose mode:
mix test --trace
in config
config :ex_unit, trace: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.