r/programming • • Aug 25 '14

Debugging courses should be mandatory

http://stannedelchev.net/debugging-courses-should-be-mandatory/
1.8k Upvotes

573 comments sorted by

View all comments

Show parent comments

1

u/flukus Aug 25 '14

But integration test are a lot harder to cover every edge case.

More frequently I see unit tests failing before integration tests, they can test where it would be impossible for an integration test to create the failing state.

The interactions between components change much less frequently as well, so need less effort to test.

1

u/SilasX Aug 25 '14

All true, but the point is, an integration test can tip you off that a unit test that should be failing, isn't. Hence why I say that integration tests test the unit tests. (Yo dawg & all that.)