How has test first development changed the way you write software?

Posted by Toran Billups on Stack Overflow See other posts from Stack Overflow or by Toran Billups
Published on 2010-04-13T16:00:47Z Indexed on 2010/04/13 16:03 UTC
Read the original article Hit count: 277

Filed under:
|

I've started to find that I can't write software without writing a test first. I ask this subjective question because I want to hear what others in the community think about the reasons I can't go back to writing production code without a test first.

  • If you can't write a test for something you don't understand it
  • Without a regression test you can't clean the code
  • You are going to test it anyway, spend the time to do it right
  • Evolutionary design is possible without fear
  • You actually write less code yourself
  • Fast feedback cycles save time and money
  • Job security (less bugs makes your boss happy)
  • It actually makes my work more enjoyable

© Stack Overflow or respective owner

Related posts about TDD

Related posts about test-first