-
-
Save nirnaeth/a04ec5a989ad4c4e06c6bf0bbdc3321b to your computer and use it in GitHub Desktop.
Things I learned about ExUnit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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