1 FIRST原则
Fast
Isolated
Repeatable
Self-Validation
Timely
2 Right-BICEP 原则
Right
Boundary
Inverse
Check
Errors
Performance
3 CORRECT 原则
Conformance
Ordering
Range
Reference
Existence
Cardinality
Time
4 TDD
1) write test
2) Write the minimal amount of code for the test to run and check the failing test output
3) Write enough code to make it pass
4) Refactor
5) Benchmarking