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-Development-Addison-Wesley-Signature/dp/0321146530
PyUnit documentation https://docs.python.org/3.8/library/unittest.html
Download
0 formats
No download links available.
Test-Driven Development (TDD) in Python #1 - The 3 Steps of TDD | NatokHD