ExUnit.TestModule — ExUnit v1.16.3

Search documentation of ExUnit

# View Source ExUnit.TestModule (ExUnit v1.16.3)

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

- `:state` - the test error state (see `ExUnit.state/0`)

- `:tests` - all tests in this module

# Summary

## Types

t()

# Types

Link to this type

# t()

View Source

    @type t() :: %ExUnit.TestModule{
      file: binary(),
      name: module(),
      state: ExUnit.state(),
      tags: map(),
      tests: [ExUnit.Test.t()]
    }