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 (see ExUnit.state/0)
:tags - all tags in this module
:tests - all tests in this module
@type t() :: %ExUnit.TestModule{
file: binary(),
name: module(),
parameters: map(),
setup_all?: boolean(),
state: ExUnit.state(),
tags: map(),
tests: [ExUnit.Test.t()]
}
© 2012-2024 The Elixir Team
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ex_unit/1.18.1/ExUnit.TestModule.html