Testing Strategy
Steps
- •Prefer the smallest test that validates behavior.
- •Use unit tests for pure logic, integration for boundaries.
- •Add regression tests for bug fixes.
- •If tests cannot run, state the reason.
选择恰当的测试方案,有效降低回归风险。
--- frontmattername: testing-strategy description: Choose appropriate tests and reduce regressions.