Comment by gorgoiler
10 hours ago
If you are writing an integration test for some new and potentially bug-ridden code then you might opt to mock, say, the database connection.
Doing so risks having to write so much database logic — with all the potential for getting that code buggy as well — that it’s often better to avoid the mock and test the entire system, end-to-end.
This was an end-to-end rocket test.
No comments yet
Contribute on Hacker News ↗