A cheat sheet to test patterns :
Goals of Test Automation :
This page is only a cheat sheet, for a more deeper introcution buy the book xUnit test patterns or visit xUnit Pattern.
Test should improve the quality
- Tests as Specification (aka Executable Specification)
- Defect Localization
Test should help us to undrestand the System Under Testing (SUT)
- Tests as Documentation
- Tests as Safety Net
Test should be easy to run :
- One command testing
- Fully Automated Test
- Self-Checking Test
- Repeatable Test
Test should easy to write and mantein :
- Simple Tests
- Expressive Test
- Separation of Concerns