Skip to content

Instantly share code, notes, and snippets.

@gamache
Created January 13, 2016 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gamache/77cc0858fa3275aed810 to your computer and use it in GitHub Desktop.
Save gamache/77cc0858fa3275aed810 to your computer and use it in GitHub Desktop.
# 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