Unit vs. Integration vs. End-to-End Testing

How to tell them apart on a resume

Unit testing

JUnit, pytest, Jest, Vitest, mocking, code coverage percentages, TDD — written by developers alongside their own code.

Integration testing

Testcontainers, API tests, contract testing, test databases, Postman/REST Assured — checking services, databases and APIs together.

End-to-end testing

Selenium, Cypress, Playwright, Appium, page objects, flaky tests, CI test suites — usually QA automation or SDET roles.

The question that settles it

“Which kind of tests did you write most — single functions, services working together, or full user journeys through the app — and who owned the others?”

Each term in plain English

  • Unit Testing

    Automated tests that check a single small piece of code (like one function) in isolation to make sure it behaves correctly.

    Ask “What's your rule of thumb for what deserves a unit test versus what doesn't?”

  • Integration Testing

    Automated tests that check whether multiple parts of a system work correctly together, not just in isolation.

    Ask “How did you deal with an integration test that was flaky — failing intermittently for no obvious reason?”

  • End-to-End Testing

    Testing a complete user flow through the real, fully-assembled application (e.g. signing up, adding an item to cart, checking out) rather than testing pieces in isolation.

    Ask “How did your team decide which flows were worth an end-to-end test, versus testing at a lower level?”

  • Test Pyramid

    A guideline for how a healthy test suite should be shaped: many fast, cheap unit tests at the base, fewer integration tests in the middle, and very few slow, expensive end-to-end tests at the top.

    Ask “Has your team's test suite ever turned into an inverted pyramid — too many slow E2E tests? What did that cost you, and how did you fix it?”

Open the full tool for the other look-alike pairs, role profiles, and the JD decoder.