TLDR Web Dev · OPINIONS & ADVICE

WHAT IS YOUR DEFINITION OF A UNIT, INTEGRATION, AND E2E TEST?

links.tldr.tech6 min read

Summary from the TLDR Web Dev newsletter

Various software engineers were polled on the difference between different types of tests. The general consensus was that unit tests test the smallest units of code, like methods. Integration tests verify interactions between different parts of a system. End-to-end tests focus on the overall user journey and are more heavyweight.