Introduction to Responsible Testing
Explore responsible testing in Elixir by learning how to design unit tests that remain adaptable to changing requirements. Understand when to apply example-based versus property-based testing through a practical birthday greeting project, emphasizing unit test principles without side effects.
We'll cover the following...
We'll cover the following...
What is responsible testing?
Understanding when and where properties work best is important for responsible testing, and that is what we are going to learn in this chapter.
Throughout the chapter, we’ll take on a practical project based on the birthday greeting “kata” by Matteo Vaccari. This exercise asks us to organize unit tests for a little application in a manner such that ...