Skip to content

Commit d1f7457

Browse files
committed
Document register
1 parent 1230345 commit d1f7457

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ex_unit/lib/ex_unit/case.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ defmodule ExUnit.Case do
2020
It should be enabled only if tests do not change any global state.
2121
Defaults to `false`.
2222
23+
* `:register` - when `false`, does not register this module within
24+
ExUnit server. This means the module won't run when ExUnit suite runs.
25+
2326
This module automatically includes all callbacks defined in
2427
`ExUnit.Callbacks`. See that module for more information on `setup`,
2528
`start_supervised`, `on_exit` and the test process life cycle.

0 commit comments

Comments
 (0)