Vezi pagina în română

IT Glossary

What is automated testing?

Automated testing means checks written as programs that run by themselves at every change and state clearly what passed and what failed.

6
sections
6
questions answered

Automated testing (test automation) is the verification of software by programs that execute test scenarios and compare the actual result with the expected one on their own, instead of a person going through them by hand. The ISTQB glossary defines it as “the conversion of test activities to automated operation” and lists it as a keyword of the Foundation syllabus v4.0 (2024). A concrete example: add the product to the basket, apply the discount, verify the total, written once and run identically in minutes at every change, across all scenarios at once.

For a buyer of software the point is simple: an application covered by automated tests can be changed quickly and safely, one without tests can only be patched nervously, and “nobody touches that module” is the terminal symptom. That is why, when contracting, the question “which automated tests do you write and what do they cover?” is worth asking. Writing tests takes development time up front; the return arrives at every later change that no longer breaks something unseen that used to work.

Why it matters for your business

Regressions caught in minutes

Every change passes through all the automatic checks, so the complaint that something used to work stops in the pipeline instead of reaching your customers.

Brave changes instead of nervous patches

A net of tests makes modification and restructuring safe, so the application evolves at the pace of the business rather than freezing where nobody dares touch it.

Quality paid for once

A test written once verifies forever, unlike manual re-checking, which is paid in hours at every release and performed a little less carefully each time.

How an automated test works

An automated test has three parts: the steps (what the program does in the application), the expected result (what must happen) and the comparison between the two, which ends in passed or failed. The test is written in the project's language with a test framework: Playwright, Selenium or Cypress for web applications in a browser, JUnit, pytest or Jest for code.

Tests usually run in the delivery pipeline (CI/CD) at every change, and code that fails them is stopped before it reaches production.

The test pyramid

The ISTQB glossary defines the test pyramid as “a graphical model representing the relationship of the amount of testing per level, with more at the bottom than at the top”. Mike Cohn popularised the shape in “Succeeding with Agile” (2009) as the “Test Automation Pyramid”; Martin Fowler notes that Cohn first drew it with Lisa Crispin in 2003–2004.

At the base are unit tests: numerous, fast and cheap, on small pieces of logic (the term has its own glossary page, unit tests). In the middle, integration tests verify interactions between components or systems, such as the database and the programming interfaces. At the top, end-to-end tests walk business processes from start to finish under production-like circumstances: few in number, on ordering, payment and invoicing.

Re-running all of them after each change, to see whether something that used to work has broken, is regression testing. The pyramid is a guide to proportions, not a quota.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Automated testing and manual testing

The ISTQB glossary defines manual testing as “a test activity performed manually”. The two do not replace each other: automated checks tirelessly verify what is already known, while people find what nobody thought to check, meaning exploratory testing, an application that works but is painful to use, and visual oddities a script ignores.

Acceptance testing by the client's own users (UAT) stays largely manual.

What to automate first and what to ask a supplier

First the flows the business lives on (ordering, payment, invoicing, registration), covered end to end, then calculation logic and business rules, covered at unit level. Ask for concrete proof: tests running in the pipeline with visible history, not a coverage percentage.

Not worth automating: one-off checks, screens that change every week, and judgement about look and feel.

Frequently asked questions

What test coverage percentage should I demand from a supplier?

No magic number: ninety per cent coverage of trivial code with the payment flow untested protects nothing. Ask for priorities — critical flows end to end, calculation rules at unit level — and tests that run automatically at every release with visible history. A mature supplier shows you the pipeline happily.

Does automated testing remove the need for human testers?

No — it moves them onto work where people cannot be replaced: exploratory testing (what happens if I do something unexpected?), judgement about real experience, and new or strange cases. Automated checks tirelessly verify what is already known; people discover what nobody thought of.

Our existing application has no tests at all — can it be rescued?

Yes, incrementally: nothing stops for a test-writing project. First end-to-end tests on the critical flows (small effort, large protection, since they catch big regressions wherever they originate), then the rule that touched code gets tests: every change brings its own tests, so coverage grows exactly in the active parts of the application.

Which tools are used for automated testing?

For web applications in a browser: Playwright, Selenium or Cypress. For code: JUnit (Java), pytest (Python), Jest (JavaScript). The supplier picks the one that fits the project's language; what matters is that tests run automatically in the pipeline, not the brand of the tool.

What is a flaky test?

A test that passes and fails on the same code with no change. Common causes: timing, data shared between tests, the network. When there are many, the team starts ignoring results, so ask the supplier how they detect and fix them.

Can automated testing be done without programming?

Partly: record-and-replay and low-code tools exist. They suit simple, stable flows but break easily when the interface changes. For critical flows that keep evolving, tests written by programmers stay more reliable.