In this chapter, we will learn how to apply TDD in our daily development routine through a step-by-step guide. Along with this demo, you will get an idea of how to split a big task into relatively smaller ones and complete each one with a set of passing tests while learning some refactoring techniques. Before we dive into the code, let’s get a fundamental understanding of how to write a proper test.
Writing Tests
So how would you start to write a test? Typically, there are three steps (as ...