API Reference — ExUnit v1.16.3

Search documentation of ExUnit

# View Source API Reference ExUnit v1.16.3

## Modules

ExUnit

Unit testing framework for Elixir.

ExUnit.AssertionError

Raised to signal an assertion error.

ExUnit.Assertions

This module contains a set of assertion functions that are imported by default into your test cases.

ExUnit.Callbacks

Defines ExUnit callbacks.

ExUnit.CaptureIO

Functionality to capture IO for testing.

ExUnit.CaptureLog

Functionality to capture logs for testing.

ExUnit.Case

Helpers for defining test cases.

ExUnit.CaseTemplate

Defines a module template to be used throughout your test suite.

ExUnit.DocTest

Extract test cases from the documentation.

ExUnit.DocTest.Error

Exception raised when there's an error with the syntax or semantics of a doctest.

ExUnit.DuplicateDescribeError

Exception raised to indicate two or more `describe` blocks with the same name.

ExUnit.DuplicateTestError

Exception raised to indicate two or more tests with the same name.

ExUnit.Filters

Conveniences for parsing and evaluating filters.

ExUnit.Formatter

Helper functions for formatting and the formatting protocols.

ExUnit.MultiError

Raised to signal multiple errors happened in a test case.

ExUnit.Test

A struct that keeps information about the test.

ExUnit.TestModule

A struct that keeps information about the test module.

ExUnit.TimeoutError

Exception raised when a test times out.