3 ms·
My experience: running a unit test is much faster than a manual test. While developing a feature or fixing a bug, it speeds you up overall, in spite of the ini
by danuker 5y ago
My experience: running a unit test is much faster than a manual test.
While developing a feature or fixing a bug, it speeds you up overall, in spite of the initial investment in writing the test.
As a bonus, you can keep them running permanently, to prevent new bugs or regressions.
- horsawlarway 5y agoAnd the test covers much less surface area than most manual tests. For code that's expected to be stable for a LONG time - sure, write lots of good tests. For code that breaks at someone else's whim, which has a small shelf life, or which has a large surface area, think really, really hard about whether the test is actually going to be worth it.