you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 3 days ago (1 child)

When you TDD, you are supposed to write the minimum possible change that would result in your new test passing. A slop machine is going to try to write code that looks like the end goal of the application you're writing. Which means it will have tons of untested unexamined side effects.

Also, of course, while you're human-writing the code for TDD you're supposed to be thinking about how everything currently works and what edge cases might exist, etc, that is supposed to guide you towards the next best test to write.

  • source
  • parent
  • hideshow 1 child comment