W3cubDocs

/Elixir 1.6

ExUnit.TestModule

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

Summary

Types

t()

Types

t()

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.6.0/ExUnit.TestModule.html