Hacker News new | ask | show | jobs
by calyth2018 2899 days ago
At the practical level, I find that most end-to-end test tells you something failed, but not which part failed.

A unit test, or a component test, would tell you that something failed, and it's in this general area, which narrows down the search quite a bit.

They're both useful, but I've seen far more problems with people arguing that end-to-end test is more than what they need, while a bad conversion from seconds to nanoseconds would be caught quickly if a unit test was actually written.