5 ms·
Are you working with other developers on these projects? "The test" failing is much less useful information than a "unit test" failing. If the unit test fails I
by ng12 10y ago
Are you working with other developers on these projects? "The test" failing is much less useful information than a "unit test" failing. If the unit test fails I know it's something pretty fundamental -- I can isolate it to a single method. If the integration test fails, but the unit test passed, I can be reasonably assured the problem is with the database.
Tests are just as much about making software maintainable as they are about making sure it's correct.
- brianwawok 10y agoYes, these were for fortune 2000 companies or late state startups... projects with piles of "unit tests" where you try to test one class at a time and hand type what a database does were all inevitably crap, and either failed and got rewritten, or all the crap got written out.