|
|
|
|
|
by mekane8
1800 days ago
|
|
I believe pretty strongly in the "testing pyramid" - that you should have a broad base of unit tests,
with fewer integration tests and even fewer e2e tests. Source (also from Google):
https://testing.googleblog.com/2015/04/just-say-no-to-more-e... I think good unit test coverage is essential for good maintenance, but you can't cover _everything_ with unit tests. You definitely need integration and e2e tests to ensure bigger picture correctness. I have found that value one gets out of the different kinds of tests as you proceed up the pyramid get higher the closer to release you are, and are most valuable post release. During development they become obsolete too quickly due to changes in how things work. But locking in an already-released version to avoid regressions is great. |
|
And that's fine, but I think it's much more valuable before making any functional changes at all, to impose some high level smoke tests that run the entire thing, and do a handful of common, end to end user flows.