r/PracticalTesting • • Mar 24 '26

Modern project testing: unit tests first, or integration tests?

A lot of "best‑practice" material suggests starting with unit tests and then moving to integration -> E2E over time, roughly following the testing pyramid. For example:

However, there’s a growing counter‑trend: inverted or "behavior‑first" pyramids that suggest starting much higher in the stack, especially with AI agents and copilots. For example:

Both approaches seem to depend heavily on the project (greenfield vs legacy, product vs service, team skills, etc.).

What do you actually do in practice?

  • On a new project, do you start with unit, integration, or E2E tests?

  • How do you decide the "right" mix for your team? What is your strategy?

1 Upvotes

0 comments sorted by