# ExUnit v1.10.3 ExUnit.Test View Source

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 (see `t:ExUnit.state/0`)
- `:time` - the duration in microseconds of the test's runtime
- `:tags` - the test tags
- `:logs` - the captured logs

# Link to this section Summary

## Types

t()

# Link to this section Types

Link to this type

# t()

View Source

## Specs

    t() :: %ExUnit.Test{
      case: module(),
      logs: String.t(),
      module: module(),
      name: atom(),
      state: ExUnit.state(),
      tags: map(),
      time: non_neg_integer()
    }