Skip to content

Commit 370eaa5

Browse files
nicholasfJosé Valim
authored andcommitted
mention using mix test to run tests
1 parent a41a9f8 commit 370eaa5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎getting_started/ex_unit/1.markdown‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ defmodule MyTest do
2323
end
2424
```
2525

26-
In general, we just need to invoke `ExUnit.start`, define a test case using `ExUnit.Case` and our batch of tests. Assuming we saved this file as `assertion_test.exs`, we can run it directly:
26+
In general, we just need to invoke `ExUnit.start`, define a test case using `ExUnit.Case` and our batch of tests. Most tests will be invoked as part of a [Mix](http://elixir-lang.org/getting_started/mix/1.html) project.
27+
28+
mix test
29+
30+
Otherwise, assuming we saved this file as `assertion_test.exs`, we can run it directly:
2731

2832
bin/elixir assertion_test.exs
2933

0 commit comments

Comments
(0)