ended3월 19일· 1 sources

Test Doubles in Automated Testing

자동화 테스트에서의 테스트 대역(Test Doubles)

Why it matters

Test Doubles are pretend objects used in place of real collaborators like databases and third-party APIs to make tests faster and more controllable. They are primarily used in unit and integration tests, while E2E tests should generally use real objects except for third-party services where flakiness is a concern. The article follows Gerard Meszaros and Martin Fowler's nomenclature, defining key concepts like SUT, collaborators, indirect inputs/outputs, and observation points.

1
Sources
+0
24h
Growth
185d
Active
ai-generated testse2e testsedge casesmartin fowlermockingnegative testingparameterized testssuttest doublesunit testing

Sources

Related Issues