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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access