Skip to main content
Engineering

A Testing Strategy That Fits a Lean Team

Full coverage is not the goal. The goal is catching the failures that would hurt users. Here is how to think about testing when you cannot test everything.

H

Hiren Patel

Engineering

Mar 20256 min read
Laptop showing code with an error-handling branch
Summary: Full coverage is not the goal. The goal is catching the failures that would hurt users. Here is how to think about testing when you cannot test everything.

Test the paths users actually take

The nervous release

Every release needs an afternoon of manual clicking, bugs still reach customers, and the test suite nobody trusts takes forty minutes to run.

When testing time is limited, coverage percentage is the wrong target. The right target is: are the paths a user would take to complete core tasks covered? A failing test on an edge case that affects 0.1% of users is less valuable than a test that would catch the checkout flow breaking.

Map your critical paths first. Then write tests for those. Coverage of the rest is a bonus.

Critical paths

End-to-end tests

Sign-up, checkout, and the core workflow, run in a real browser (Playwright is the common choice).

APIs and data

Integration tests

Real database, real API calls, no heavy mocking.

Business rules

Unit tests

Pricing, permissions, calculations: logic that must never be wrong.

After release

Production monitoring

Error tracking and alerts catch what tests miss.

Integration tests are underrated by small teams

Unit tests are fast and easy to write. They are also easy to game: a test that passes because it mocks everything is testing nothing. Integration tests that hit real services or a real database catch a whole category of failures that unit tests miss.

For a small team, a suite of integration tests over the core flows, run on every PR, provides more signal than a large unit test suite that mocks heavily.

Tired of bugs reaching your customers?

Get a free consultation

How AI is changing testing in 2026

AI now writes first drafts of tests, keeps selectors up to date, and triages failures. Playwright has become the default end-to-end framework, and AI test generation on top of it is mainstream.

People still own the strategy: deciding what matters, reasoning about edge cases, and checking that generated tests actually cover business risk.

Organisations using generative AI in quality engineering
Organisations using generative AI in quality engineering
Piloting or deploying89%
In pilot52%
In production37%

Source: World Quality Report 2025–26 (Capgemini and Sogeti).

A release checklist for small teams

  • Critical-path end-to-end tests pass in CI.
  • Database migrations have been run against a copy of production data.
  • Error tracking is on, and someone is watching it after release.
  • There is a tested way to roll back.
  • Release notes list anything customers will notice.

Frequently Asked Questions

EngineeringArticleTricolens
H

Written by

Hiren Patel

Engineering

Tired of bugs reaching your customers?

Tell us how you release today. You will get a practical testing plan that catches what matters without slowing the team down.