Quality & Testing

Test Automation: Where to Start, and What Not to Automate

5 min read Team Barquecon 26 November 2026

Most teams come to test automation the same way: every release needs a bigger manual regression run, releases slow down, and bugs still slip through. Automation looks like the answer, and it can be. But automating the wrong things creates a second problem: a suite of slow, flaky tests that nobody trusts and everybody has to maintain.

This guide covers where test automation pays off first, what to leave manual, how to structure a suite that stays healthy, and an 8-week plan to get started.

Start with the test pyramid

A healthy automated suite has many fast, cheap tests at the bottom and few slow, fragile ones at the top. The idea is widely known as the test pyramid.

LayerWhat it testsSpeed and costHow many
Unit testsIndividual functions and classesMilliseconds. Cheap to maintainMany (usually written by developers)
API and service testsBusiness logic through the API, without the screenFast. StableA good number: the best value for QA teams
UI / end-to-end testsReal user journeys through the screenSlow. Breaks when screens changeFew, for critical journeys only

The most common mistake is an upside-down pyramid: hundreds of UI tests and almost no API tests. It's slow, fragile and expensive to maintain.

What to automate first

AutomateWhy
Smoke tests for every build ("does it start, can I log in, does the main flow work?")Catch broken builds in minutes
Regression tests for critical, stable journeys (checkout, payments, order creation, approvals)Highest business risk, run on every release
API tests for business rules (calculations, permissions, validations)Fast, stable, catch most logic bugs
Data-heavy checks (many input combinations, boundary values)Tedious and error-prone by hand
Cross-browser and device checks for key pagesToo many combinations to do manually
Performance baselines for key APIsCatch slowdowns before users do

What not to automate (yet)

Leave manualWhy
Features still changing every sprintTests break as fast as you write them
One-off checksAutomation never pays back
Exploratory testingFinding unexpected problems needs human curiosity
Usability and visual judgement"Is this confusing?" isn't a pass/fail check
Complex hardware interactions, without a test rigNeeds a rig or a simulator first (see IoT device testing)

Keep the suite healthy

  • Fix or remove flaky tests quickly. A test that fails randomly teaches everyone to ignore failures.
  • Independent tests: each test sets up its own data and doesn't depend on another test running first.
  • Test data you control: seeded data or generated data, not "whatever is in staging today".
  • Stable selectors: agree test IDs with developers, so UI tests don't break on every design change.
  • Run in the pipeline: smoke tests on every commit, regression before every release. (See our CI/CD pipeline workflow.)
  • Report clearly: which tests failed, with screenshots and logs, visible to developers.

Measuring whether it's working

MeasureGood direction
Regression time per releaseDown
Defects found after releaseDown
Flaky test rateNear zero
Time from commit to test resultDown
Share of critical journeys coveredUp

Measure "before" numbers first: how long manual regression takes today, and how many bugs reach production.

An 8-week starting plan

WeeksStep
1List critical user journeys and business rules. Measure today's regression effort and escaped defects
2Choose tools that fit your stack and team. Set up the project structure, test data approach and reporting
3–4Automate smoke tests and the top API tests. Run them in the pipeline on every build
5–6Automate the 10–20 most important regression journeys (API first, UI only where needed)
7Add a performance baseline for key APIs. Fix flaky tests
8Review: time saved, defects caught, maintenance effort. Plan the next quarter

Build it in-house or with a partner?

OptionGood when
Your developers write the testsStrong engineering culture, time in each sprint for testing
A dedicated in-house QA engineerSteady product work, budget for a full-time role
A managed QA team from a partnerYou need to start fast, cover several products, or scale up and down, without hiring

Whichever you choose, the tests should live in your repository and run in your pipeline, so you keep them if people or partners change.

Frequently asked questions

What should be automated first in testing?

Smoke tests for every build, API tests for core business rules, and regression tests for the most critical, stable user journeys.

What should not be automated?

Features that are still changing, one-off checks, exploratory testing and usability judgements.

What is the test pyramid?

A model for a healthy test suite: many fast unit tests, a good layer of API tests, and a small number of slow end-to-end UI tests.

How long does test automation take to pay back?

It depends on how often you release and how much manual regression you do today. Teams that release often see the benefit soonest. Measure your current regression effort to estimate it.

Can test automation work for IoT products?

Yes, with device simulators and hardware-in-the-loop rigs for the device side, alongside normal API and UI automation for the apps and cloud.

Regression testing slowing your releases? Our QA team can set up automation in your pipeline, or run it as a managed service. See our testing services → · Talk to our QA team →

Let's Work Together

Contact Us and We'll Help You

Whether you have a question, an idea, or a project in mind, our team is ready to assist you every step of the way.