top | item 30142309

(no title)

earpwald | 4 years ago

Unit tests help developers, integration tests help logic.

This can annoy folks, but the straight forward truth is that integration tests cover the unit as well as the whole, so if time is limited, they should 100% be the priority as they bring more value.

That said, I love making sure that my code is well unit tested and I build TDD where I can to make that happen. Im not dismissing the value of unit tests, but when you have to make a choice, for me, Integration tests win.

discuss

order

No comments yet.