Where to Start?

Good options for starting a TDD cycle are:

  • To specify the objects’ initialization state or methods under test
  • Happy path: A single representative example of the error-free version of the algorithm

Which starting point we choose depends on how complicated the feature is.

TDD starting points

Get hands-on with 1200+ tech skills courses.