ExUnit
hexdocs.pm
Spec sheet
- What it does
- ExUnit is a unit testing framework for Elixir.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Purpose
- ExUnit is a unit testing framework for Elixir.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Intended users
- The Elixir website describes Elixir as serving solo developers and Fortune 500 companies across varied industries and applications.Read 8 Oct 2026 · elixir-lang.org
- License
- The Elixir source code is released under the Apache License 2.0.Read 8 Oct 2026 · github.com
- Founded
- 2012Read 28 Sep 2026 · hexdocs.pm
- Assertions
- ExUnit.Assertions provides macros that generate assertions with appropriate error messages.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Async execution
- ExUnit.async_run/0 starts tests asynchronously while test cases are loading, and await_run/1 waits for the result.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Concurrency
- Tests in different modules can run concurrently, while tests within each module run serially.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Configuration
- ExUnit options include test timeouts, maximum parallel cases, failure limits, filters, logging capture, colors, and random seeds.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Mix integration
- The Mix command mix test runs files matching *_test.exs in a project's test directory.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Parallel tests
- Tests in different test modules can run concurrently, while tests within a module run serially.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Reporting
- ExUnit supports result formatters and can report timing for the slowest tests or test modules.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Run tests
- Mix's mix test command runs files matching *_test.exs in a project's test directory.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Security reporting
- The Elixir repository asks users to disclose security vulnerabilities privately through its Security page.Read 8 Oct 2026 · github.com
- Support channels
- The Elixir website lists community support channels including Slack, the Elixir Forum, and Discord.Read 8 Oct 2026 · elixir-lang.org
- Supported runtime
- ExUnit is part of the Elixir programming language and the example invokes it using the elixir command line.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Test assertions
- ExUnit.Assertions provides macros that generate assertions with appropriate error messages.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Test execution
- ExUnit starts tests and can run them automatically before the VM terminates.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Test outcomes
- Finished tests can pass, fail, be skipped, be excluded, or be invalid when setup_all fails.Read 8 Oct 2026 · ex-unit.hexdocs.pm
- Test setup
- A basic ExUnit setup starts the framework with ExUnit.start() and defines tests in a module using ExUnit.Case.Read 8 Oct 2026 · ex-unit.hexdocs.pm
Plans and prices
ExUnit Free Unit testing framework for Elixir Read 8 Oct 2026 · ex-unit.hexdocs.pm
Where Specifiction places it
- Unit Testing Frameworks#4 of 328.3
- Unit Testing#6 of 328.2