2 ms·
bonus points if you add test data for integration tests with sad paths too
by inetknght 4y ago
bonus points if you add test data for integration tests with sad paths too
- csteubs 4y agoAbsolutely this. I stood up a negative test suite for continuous DB queries late in 2020 and it's caught many potential show stopper integration issues since; about 45% more YoY than pre-suite. Took about a week of duplicating happy path tests, investigating gaps, and switching inputs/assertion types to get everything passing, but less than a week later we had our first verifiable test failure.