3 ms·
While I am also in the camp that doesn't quite buy the test-everything-get-100-coverage religion, this article seems to be missing out on the benefits that regr
by hardwaresofton 11y ago
While I am also in the camp that doesn't quite buy the test-everything-get-100-coverage religion, this article seems to be missing out on the benefits that regression tests at levels lower than end-to-end provide.
As the ruby part of the app becomes more and more complex, it's not a given that the frontend will change much -- you're going to be glad you had something other than end-to-end tests.
- jcrben 11y agoI'm not saying don't unit test or that E22 tests don't have disadvantages, but... end-to-end tests are not frontend tests, so they will still catch problems regardless of whether the frontend changes. Unless you are changing something that doesn't affect any features (in which case, why it is in the codebase?), an end-to-end test could possibly catch it.