ExUnit.TestModule

A struct that keeps information about the test module.

It is received by formatters and contains the following fields:

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

Summary

Types

t()

Types

t()

Specs

t() :: %ExUnit.TestModule{
  name: module(),
  state: ExUnit.state(),
  tests: [ExUnit.Test.t()]
}

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ex_unit/1.10.4/ExUnit.TestModule.html