Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that underlie good tests
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that underlie good tests. Create and structure a comprehensive ExUnit test suite, starting from the basics, and build comprehensive test coverage that will provide safety for refactoring and confidence that your code performs as designed. Use tests to make your software more reliable and fault tolerant.
Explore the basic tool set provided by ExUnit and Mix to write and organize your test suite. Test code built around different OTP functionality. Isolate your code through dependency injection and by using Mox. Write comprehensive tests for Ecto projects, covering Ecto as a database tool as well as a standalone data validation tool. Test Phoenix channels from end to end, including authentication and joining topics. Write Phoenix controller tests and understand the concepts of integration testing in Elixir. Learn property-based testing with StreamData from the author who wrote the library.
Code with high confidence that you are getting the most out of your test suite, with the right tools that make testing your code a pleasure and a valuable part of your development cycle.
Yep, @AstonJ is right that it has to do with the book’s beta status, but there’s a bit more to it.
We were set to release Testing Elixir last week on our normal Wednesday release schedule, but we used that slot to do something we felt was even more important given recent events in the U.S. We put the book on hold momentarily, and sent out this very special Letter from the Publisher instead https://media.pragprog.com/newsletters/2020-06-03.html
Once the book is released in beta – which will be very, very soon – the link will take you to the book’s home on our new website.
Im still at ToC tho . Will start reading this over the weekend. First impression as a beginner: I’ll definitely get lots and lots of nuggets, especially fuzz, integration & end-to-end tests.