Jason Gorman demonstrates three good habits to get into when you practice TDD:
1. Write the test assertion first and work backwards to the set-up
2. See the test fail before you make it pass
3. Write tests with only one reason to fail
Video # 1 - https://www.youtube.com/watch?v=vBJM5pzBfhY
unittest documentation https://docs.python.org/3/library/unittest.html
Download
0 formats
No download links available.
Test-Driven Development (TDD) in Python #2 - Assert First & See The Test Fail | NatokHD