codesai.com
Heuristics to determine unit boundaries: object peer stereotypes, detecting effects and FIRS-ness
This post explores three different heuristics for defining unit boundaries that can be applied both when retrofitting tests in legacy code and when doing TDD: GOOS book’s object peer stereotypes, FIRS-ness and detecting effects.