DEV Community

Discussion on: Test like an architect

Collapse
 
carleeto profile image
carleeto • Edited

Not sure about architects, but to me, Legos are a better analogy. Unit tests ensure the bricks don't fail. Integration tests check that the bricks and their interfaces combine nicely together. Acceptance tests ensure the kid's getting what they want every step of the way. If they don't like the look, the child changes things immediately.

The rest is the UX, which is where the reward of all that effort comes in.

Collapse
 
damnjan profile image
Damnjan Jovanovic

Thanks for the feedback! You are 100% right! If I wrote the same thing but used LEGO as an analogy, I might avoid some misunderstanding :)