Organizing Our Tests using Describe

Let’s look into how we can organize our tests using ExUnit's describe tool and make our test suite easier to maintain.

We'll cover the following

ExUnit ships with some useful functions (and macros) that allow us to organize an individual file in a readable and maintainable way.

As we build more and more complicated tests, we’ll see these organizational tools showing up in our examples. Let’s start by looking at those tools and code examples and how we can use them to keep our test suite more manageable to read and maintain.

Get hands-on with 1200+ tech skills courses.