News for hackers. Stuff that matters.
Re:How to avoid brittle code by phillipwills on Monday March 28, 2016 @04:40PM (#11377210)
I feel like I shouldn't be testing that the dependencies' api's didn't change, that's for integration tests, which don't need to run as often as unit tests. Therefore, they can be slower and more complex. Mock or spy everything external and nothing internal.

It can feel a little dangerous, but as long as the integration and e2e tests are kept up and run on build, i think I'm covered. I've definitely been bitten before, but I've been bitten more by over complicated and long running tests.

There are no comments on this comment yet.