DEV Community

Discussion on: Prototype. Ship. Amend. Repeat.

Collapse
 
piotrgwiazda profile image
Piotr Gwiazda

Yes! And then you generalize your code, but specialize your tests to cover more detailed contracts and corner cases. It means: never follow the same structure in production code and tests as they move opposite directions. That is another common trap.