Sunday, October 3, 2021

TDD vs Test-last

TDD

First of all TDD can’t be properly applied if you have no idea what the problem is and you don’t know how to solve it.

So an overview should be done before applying TDD.

  • Analyze the problem.
  • Go through the related existing code if present.
  • Identify where the new functionality should be called from and how.
  • Define a list of test cases.

TDD process can be depicted by the below diagram

© kani.stack.notez 2012 | Blogger Template by Enny Law - Ngetik Dot Com - Nulis