Test architecture at scale
Plan the layers, settings, shared code and tags of a big automated suite so that many teams can add checks without a mess.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: city planning. Before a city builds many houses, it plans the roads, the drains and the power lines. If it waits, every new house digs up the street. A plan made early lets thousands of buildings fit together.
Daily List is a to-do list app. Four teams will soon add automated checks to one suite. One team works on sign-up, one on lists, one on sharing and one on reminders. Mei, the test lead, knows what happens without a plan. Four styles, four copies of the sign-in steps, and a suite nobody can read.
So Mei draws the plan first. That plan is called the .
The picture has limits. A city plan is hard to change once roads are built. A should change as the product and the teams change.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- digs
- looks deeply into something
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Planning layers, shared code, settings and labels for a big suite before many teams add checks to it.
- Set the goals
- Draw the layers
- Share the common code
- Label and review
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The roads | The layers the checks use |
| The power lines | The shared library every team plugs into |
| Street signs | Test tags |
| The town plan | The test architecture |
WHERE THIS PICTURE STOPS
- A city plan is hard to change once built. A test plan should keep changing.
- A city has one mayor. A suite may have many owners.
- Roads carry people. Layers carry calls and data.
HOOK
Plan, share, label.
REMEMBER IT THIS WAY
A story beat: one picture-line that carries the order or the cause.
Remember Mei's four teams with four copies of the sign-in steps. She draws the plan before the first copy appears.
| In the trick | What it stands for |
|---|---|
| Four teams | Sign-up, lists, sharing and reminders |
| Four copies of the sign-in steps | Four styles and a suite nobody can read |
| Draw the plan first | The test architecture |
A plan is not set in stone, and it should change as the product and the teams change.
TELL A FRIEND
A town plan puts roads, drains and power in place before many buildings go up. A does the same for checks.
OFTEN MIXED UP WITH Automation frameworks overview. The frameworks lesson explains what a framework holds. This lesson plans how a whole suite is laid out when many teams use it.
PRACTISE AND KEEP
Sources for this topic — 8 sources
- Market practice
ISTQB Certified Tester Advanced Level Test Automation Engineering (CTAL-TAE) v2.0, certification page ↗ — International Software Testing Qualifications Board (ISTQB) · The Certified Tester Advanced Level Test Automation Engineering certification covers the architecture of a test automation solution (opened) The syllabus text, read in full from the publisher PDF (ISTQB syllabus CTAL-TAE v2.0, 3 May 2024), confirms the scope. Its chapters are introduction and objectives, preparing for test automation, test automation architecture, implementing test automation, implementation and deployment strategies, reporting and metrics, verifying the solution, and continuous improvement.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Version 2.0. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Generic test automation architecture (imbus glossary) ↗ — imbus · The generic test automation architecture is a representation of the layers, components and interfaces of a test automation architecture (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Working with custom markers (pytest documentation) ↗ — pytest · Custom marks are registered, used to select tests with the mark option, and unknown marks warn or fail in strict mode (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
The Practical Test Pyramid (Martin Fowler site, by Ham Vocke) ↗ — Martin Fowler / Ham Vocke · The test pyramid suggests many small fast tests and few large slow ones (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test Sizes (Google Testing Blog, December 2010) ↗ — Google · Tests are sorted by size, small, medium and large, by what they need to run (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Advanced Level Test Automation Engineer sample exam questions, 2018 ↗ — A national software testing board · A 2018 sample exam question lists the four horizontal layers as test generation, test definition, test execution and test adaptation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail. Version: 2018 sample exam for the earlier syllabus.
- Market practice
Certified Tester Advanced Level Test Automation Engineering version 2, course outline from the International Software Quality Institute ↗ — International Software Quality Institute · The course outline says the architecture chapter covers layers in a framework, several approaches to using automation tools, and design principles and patterns (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail. Version: Version 2.0 outline.
- Implementation-specific
pytest 8.3 — Marking test functions ↗ — pytest development team · pytest 8.3 documentation, marking test functions: registered marks and unknown-mark warnings versus --strict-markers errors; version 8.3 only.
Primary body read on the access date. Tool-specific documentation; practitioner guidance rather than a binding testing standard. Actual versioned primary body read: registration and unknown applied marker warnings versus --strict-markers errors. Do not generalise newer selection behaviour to every pytest version.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.