Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

ExUnit

Free#12 of 32 in Unit Testing FrameworksUnit Testing

ExUnit: A focused, free framework for Elixir unit tests run directly or through Mix. Ranked #12 of 32 in Unit Testing Frameworks by our editors (8.0/10); pricing: Free plan; best for elixir teams using Mix.

8.0/10Editor score
ExUnit8.0 Visit ExUnit

At a glance

  • Editor score
    8.0 / 10
  • Pricing
    Free plan
  • Best for
    Elixir teams using Mix
  • Free plan
    Yes
  • Paid from
    Free
  • Supported languages
    Elixir
  • Founded
    2012
  • Facts checked
    21 Sep 2026
ExUnit screenshot
  • Where it wins

    • Free and open source as part of the Elixir project
    • Supports doctests, parameterized tests, tags, filtering, and assertions
    • Handles concurrent modules and supervised-process lifecycle management
  • Where it doesn't

    • Focused on Elixir rather than multi-language testing
    • Built-in mocks, snapshots, and property-based testing are not part of its scope
    • Concurrent execution is described across test modules

Our verdict on ExUnit

ExUnit is the unit testing framework shipped with the Elixir programming language. It is designed for developers testing Elixir applications and libraries, either from Elixir source files or through Mix, Elixir’s project and build tool. The framework is free and open source, and runs on Windows, macOS, and Linux. Its core API uses ExUnit.Case for test definitions, assertion macros for formatted failure messages, and setup and setup_all callbacks for test lifecycle work.

For day-to-day test coverage, ExUnit combines several useful mechanisms in one framework. Teams can declare parameter maps for parameterized tests, generate doctests from module and function documentation, and use tags and filtering to select test runs. Log capture and supervised-process lifecycle management are particularly relevant to Elixir applications that rely on concurrent processes. Concurrent execution across test modules can also help organize larger test suites while retaining the framework’s Elixir-native approach.

ExUnit’s main strength is its focused fit with Elixir and Mix rather than breadth across programming languages or external ecosystems. It supports the core testing workflow from test definition through assertions, lifecycle callbacks, selection, documentation-based tests, logging, and process supervision. Teams already building Elixir software should pick it for a framework that is included with the language and aligned with Elixir’s concurrency model. Teams seeking a multi-language framework, or built-in mocks, snapshot testing, or property-based testing, should consider an alternative whose scope explicitly covers those needs.

Your product? Our editors can test ExUnit in depth and publish a review, labelled as paid · from $149/mo →

ExUnit pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on hexdocs.pm

ExUnit fact sheet

Free planYes
Paid fromFree
Supported languagesElixir
Built-in mocksNot verified
Parameterized casesYes
Parallel executionYes
Snapshot testingNot verified
Property-based checksNot verified
DeploymentSelf-hosted
SupportDocs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations1 integrations: Mix
PricingFree plan
Websitehexdocs.pm
Facts checked21 Sep 2026

ExUnit integrations

ExUnit lists 1 integrations on its own site.

  • Mix

Alternatives to ExUnit

See all ExUnit alternatives →

Also Ranked In

ExUnit is ranked in 2 of our directories.

Used ExUnit? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used ExUnit for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — ExUnit 8.0/10

ExUnit is listed in our Unit Testing Frameworks directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/exunit/"><img src="https://www.itechguides.com/best/badge/exunit.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update