Test Driven Development

March 19th, 2020

Rule(s) of Thumb

Test Driven Development (TDD) is a software development technique follows these steps:

  1. Write a test that fails and run it to make sure it fails for the reason you expect.
  2. Write or modify just enough code to make the new test pass.
  3. Refactor the code you just added or changed and make sure the tests continue to pass.
  4. Repeat from step 1!

Thank you. Derived from the Rust Book.

Category:tech

Collins Muriuki

© 2020 Collins Muriuki