ExUnit v1.2.6 ExUnit.Test

A struct that keeps information about the test.

It is received by formatters and contains the following fields:

  • :name - the test name
  • :case - the test case
  • :state - the test error state (see ExUnit.state)
  • :time - the time to run the test
  • :tags - the test tags
  • :logs - the captured logs

Summary

Types

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