Automated unit testing basics

Test oriented development

Test oriented development is another approach where it is not important to write tests first but it is important to write test while writing production code.

Typically, we repeat the steps below in that order

  1. take a small requirement
  2. write production code
  3. write unit tests
  4. refactor

Comments

comments powered by Disqus