Aller au contenu principal

Review A Test That Knows Too Much

Coach a reviewer comment that moves an implementation-coupled unit test toward public behavior.

unit-testing-basics5 min read

Casey C PR author 01 Intent 02 Boundary 03 Rewrite PR review 30 sec Scenario Casey's test verifies that three helper functions are called while rendering an invoice address. The test may block refactoring instead of protecting invoice behavior. 3 spies implementation calls asserted 1 output address customers see

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Nous contacter