ExUnit v1.6.6 ExUnit.TestModule View Source

A struct that keeps information about the test case.

It is received by formatters and contains the following fields:

  • :name - the test case name
  • :state - the test error state (see ExUnit.state/0)
  • :tests - all tests for this case

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %ExUnit.TestModule{
  name: module(),
  state: ExUnit.state(),
  tests: [ExUnit.Test.t()]
}