• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Unit Testing > All Tests Completed, Houston

All Tests Completed, Houston

In some respects, the use of test harnesses is analogous to returning to your first days as a ColdFusion developer. Think back to the time before you knew every tag by heart, the time before you instinctively knew when to use the item attribute instead of the index attribute in a CFLOOP. (If you’re still in those days, that’s all the better.)

Remember banging together a template and then running it to see what happened? The code-test-code-test-code-until-it-does-what-I-want method is an experience we’ve all had. Using test harnesses is like that, although it’s a bit more refined. It’s reducing the process to the atomic level and working with it until it does exactly what you want it to do. By examining and testing each part of the application at an atomic level, confidence in the overall application is built from the ground up.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint