Created
January 13, 2016 20:47
-
-
Save gamache/77cc0858fa3275aed810 to your computer and use it in GitHub Desktop.
This file contains 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
# test/myapp_test.exs | |
defmodule MyAppTest do | |
use ExUnit.Case | |
test "the truth" do | |
IO.inspect self | |
assert 1 + 1 == 2 | |
end | |
test "the whole truth" do | |
IO.inspect self | |
assert 1 + 1 == 2 | |
end | |
test "nothing but the truth" do | |
IO.inspect self | |
assert 1 + 1 == 2 | |
end | |
end | |
# command line | |
$ mix test | |
#PID<0.92.0> | |
.#PID<0.93.0> | |
.#PID<0.94.0> | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment