Skip to content

Commit b35b0ef

Browse files
authored
Simplify the explanation of a basic test case (#13982)
Simplifies the language used to describe a "basic setup for ExUnit" In particular, I removed the term "test case" which was an alias for a "test module". "test case" can easily be confused with a `test` block.
1 parent 9d1933b commit b35b0ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ex_unit/lib/ex_unit.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ defmodule ExUnit do
1111
# 1) Start ExUnit.
1212
ExUnit.start()
1313
14-
# 2) Create a new test module (test case) and use "ExUnit.Case".
14+
# 2) Create a new test module and use "ExUnit.Case".
1515
defmodule AssertionTest do
16-
# 3) Note that we pass "async: true", this runs the test case
17-
# concurrently with other test cases. The individual tests
18-
# within each test case are still run serially.
16+
# 3) Note that we pass "async: true", this runs the tests in the
17+
# test module concurrently with other test modules. The
18+
# individual tests within each test module are still run serially.
1919
use ExUnit.Case, async: true
2020
2121
# 4) Use the "test" macro instead of "def" for clarity.

0 commit comments

Comments
 (0)