DEV Community

Discussion on: The How and Why of End-to-End Testing

kabylixx_41 profile image

Good article about testing even if I don't totally agree with you about some parts.
Unit testing and E2E tests are good for what you said but comparing UT to E2E tests is not a good idea. You have different stages when you test you application and each stage has his main goal and maybe completes another stage. E2E tests aren't not enough to prevent your application from bugs and it's the same for UT. You forgot to talk about integration or functional tests that are also important.