Rule(s) of Thumb
Test Driven Development (TDD) is a software development technique follows these steps:
- Write a test that fails and run it to make sure it fails for the reason you expect.
- Write or modify just enough code to make the new test pass.
- Refactor the code you just added or changed and make sure the tests continue to pass.
- Repeat from step 1!
Thank you. Derived from the Rust Book.