Test Driven Development Cycle TDD Cycle: Write a test case which will obviously fail in the beginning. Do not have more than one failing test case at a time. Implement the simplest algorithm first, then generalise it when you identify some patterns….
Source: https://dev.to/leanminmachine/test-driven-development-101-and-js-testing-4clm