ExUnit v1.5.1 ExUnit.TestCase 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)
  • :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.TestCase{name: module(), state: ExUnit.state(), tests: [ExUnit.Test.t()]}