Chapter 5Principles of Test Automation

About This Chapter

Chapter 3, Goals of Test Automation, described the goals we should strive to achieve to help us be successful at automating our unit tests and customer tests. Chapter 4, Philosophy of Test Automation, discussed some of the differences in the way people approach software design, construction, and testing. This provides the background for the principles that experienced test automaters follow while automating their tests. I call them "principles" for two reasons: They are too high level to be patterns and they represent a value system that not everyone will share. A different value system may cause you to choose different patterns than the ones presented in this book. Making this value system ...

Get xUnit Test Patterns: Refactoring Test Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.