The 6 Principles of Test Automation

Originally published at:

Test automation allows developers to get continuous feedback and spot problems very early in the production cycle. Quick iteration results in improved design, better quality, and safer launches.

I find that the second picture, titled “Automated testing”, makes more sense to me and seems to better match the text if the two labels “Write test” and “Write code” were exchanged. What do you think?

You can do that too. When I did the diagram I was thinking about TDD and the red-green cycle, in which we always write the test first, watch it fail (red), and then write the code until it works (green).

But as you say, you can switch the labels and it still works.