View Source ExUnit.Test (ExUnit v1.18.0-dev)
A struct that keeps information about the test.
It is received by formatters and contains the following fields:
:name
- the test name:module
- the test module:state
- the finished test state (seeExUnit.state/0
):time
- the duration in microseconds of the test's runtime:tags
- the test tags:logs
- the captured logs:parameters
- the test parameters
Summary
Types
@type t() :: %ExUnit.Test{ case: module(), logs: String.t(), module: module(), name: atom(), parameters: term(), state: ExUnit.state(), tags: map(), time: non_neg_integer() }