Tests and Code Coverage

Get to know about the fundamentals of tests and code coverage in this lesson.

In the past few years, we’ve seen tremendous growth in automated software testing. Elixir embraces this trend. Rather than doing a deep dive into any single tool, we’re going to walk you through a few important ones that will help ease Elixir adoption.

ExUnit

Elixir ships with a unit testing framework called ExUnit. Based on long-standing principles, it serves as the basic building block for almost all other Elixir testing frameworks.

The Elixir community expects applications and libraries to be well tested. We won’t give more than a brief overview here, but we will touch on some ExUnit basics:

Get hands-on with 1200+ tech skills courses.