News for hackers. Stuff that matters.
Re:The day I started believing in unit tests by bobthepanda on Wednesday December 20, 2023 @12:15PM (#38710968)
Unit and integration testing are not strategies to be used exclusively.

Integration tests relying on interlocking behavior are, by their nature, complicated. Unit tests are there to test what can be tested simply, and are cheaper to write, so your test structure should be pyramid shaped, with hopefully fewer tests as complexity increases.

There are no comments on this comment yet.