Jason Gorman demonstrates the 3 steps of the TDD cycle.
1. Write a failing test
2. Write the simplest code to pass the test
3. Refactor if necessary to keep the code readable, simple & easy to change
Kent Beck's Test-Driven Development By Example https://www.amazon.co.uk/Test-Driven-...
PyUnit documentation https://docs.python.org/3.8/library/u...