View Source ExUnit.TestModule (ExUnit v1.18.0-dev)
A struct that keeps information about the test module.
It is received by formatters and contains the following fields:
:file
- (since v1.11.0) the file of the test module:name
- the test module name:parameters
- (since v1.18.0) the test module parameters:setup_all?
- (since v1.18.0) if the test module requires a setup all:state
- the test error state (seeExUnit.state/0
):tags
- all tags in this module:tests
- all tests in this module
Summary
Types
@type t() :: %ExUnit.TestModule{ file: binary(), name: module(), parameters: map(), setup_all?: boolean(), state: ExUnit.state(), tags: map(), tests: [ExUnit.Test.t()] }