テスト自動化を進めるときに主張すべきこと
Chapter3 "Goals of Test Automation" を読んで、「自動化テスト重要」を主張するにはここらのまとめをしておくことが必要だと理解したのでメモ。
- Tests should help us improve quality.
- Test as Specification
- Bug Repellent
- Defect Localization
- Tests should help us understand the SUT.
- Test as Documentaion
- Tests should reduce (and not introduce) risk.
- Test as Safety Net
- Do No Harm
- Tests should be easy to run.
- Fully Automated Test
- Self-Checking Test
- Repeatable Test
- Tests should be easy to write and maintain.
- Simple Tests
- Expressive Tests
- Separation of Concerns
- Tests should require minimal maintenance as the system evolves around them.
- Robust Test