Chapter 10Testing Elixir
Tests are crucial for gaining confidence that your application works correctly and predictably. Love them or hate them, they remain important and necessary for professional software engineers. Elixir has an excellent built-in testing framework, which we’ll cover in this chapter.
In the first chapter, you read that Elixir has a “culture of testing” that’s similar to Ruby’s culture of testing. But this is the first time we’re mentioning tests! This doesn’t mean that testing isn’t important or should be an afterthought. Instead, it’s a byproduct of how this book is structured—the previous chapters focused on how to use the library being shown. This dedicated testing chapter lets us cover techniques to test all of our libraries ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access