Every project I have worked on had them:
- The meeting that ends with nods and no deliverable.
- The department that ships a feature nobody else knew about.
- The bug that was fixed in March and is back in June.
- The AI-generated change that quietly broke something three systems away.
- The design document that stopped matching the game two sprints ago.
- The question “is that feature actually done?” answered with a shrug.
None of these is a lack of talent. They’re a lack of a shared, checkable definition of what the game should do. I built ZagalaSpec to give Unreal Engine teams that definition.
What these problems really cost
When “done” isn’t defined in a way anyone can check, the cost doesn’t show up as one line in a budget. It spreads across the team:
- Rework. A feature is built to one person’s understanding and reviewed against another’s.
- Re-discussion. The same decisions are made again in the next meeting, because the last one produced notes, not something you can run.
- Re-testing. QA re-checks by hand what was already checked last milestone, because nothing remembers it for them.
- Lost trust. Producers stop believing status reports, and leads start answering “is it done?” by opening the editor themselves.
For a lead, the most expensive part is the last one: the time you spend verifying instead of leading.
The idea: specifications that run
ZagalaSpec is an acceptance test-driven development (ATDD) plugin for Unreal Engine. The idea is simple:
- The team agrees on how a feature should behave and writes it down as short examples in plain Given / When / Then sentences.
- Those sentences are connected to the game once.
- From then on, every sentence is a test that passes or fails, in the editor, in the Session Frontend or on your build machine.
This is a real feature that ships with the plugin:
Feature: Counter
Background:
Given a fresh counter
Scenario: Sequential increments accumulate
When I increment the counter by 3
And I increment the counter by 4
Then the counter value is 7
Scenario: Negative increment fails
When I increment the counter by -3
Then the last counter operation failed
And the counter value is 0
Each scenario becomes one automation test, named after its identifier (for example Features.ZagalaSpec.Import.Features.Counter.SequentialIncrementsAccumulate). When a scenario fails, it fails with a reason written in product terms, such as Expected 7 but counter value is 6, not with a stack trace that only one programmer can read.
A specification in a document goes stale the day after it’s written. A specification the engine executes can’t: either the game still does what the sentence says, or the test is red and someone has to look.
How a team uses it
ZagalaSpec is built around roles, not just programmers:
| Who | What they do | Code needed? |
|---|---|---|
| Designers, producers, QA, tech leads | Write or review scenarios as sentences, in a text file or in the Feature Editor | No |
| Configurator (technical designer, QA engineer) | Check that every sentence is understood by an existing step, and fill in values | No |
| Programmer (Blueprint or C++) | Add a step when no existing one fits, and connect it to gameplay | Yes, once per step |
| Everyone | Read green or red in the Session Frontend or the CI report | No |
Because steps are reusable, new scenarios usually mean new sentences, not new code. In the Counter example above, a designer can add a “reset twice” scenario without anybody writing a line of code, because every sentence it needs already exists.
What a lead gets out of it
- A deliverable from every feature conversation. The output of a kickoff is a set of scenarios, not meeting notes.
- Status you can trust. “Is it done?” becomes “is it green?”. Each scenario is a line in the Session Frontend and in the CI report.
- A safety net for regressions. A fixed bug gets a scenario. If it comes back in June, the scenario catches it before a player does.
- A release gate. A red scenario means that feature isn’t releasable, and the process exit code tells your CI the same thing.
- Tests that survive refactors. ZagalaSpec builds on Dave Farley’s four-layer model for acceptance tests: test case → domain language → protocol driver → system under test. When the game’s API changes, only the protocol driver changes. The sentences and the scenarios stay as they are.
Opinions, not handcuffs
Many testing tools fail in game studios because they demand a big upfront architecture. ZagalaSpec doesn’t:
- Keep it flat while a feature is small: one Blueprint step can read the value and check the game.
- Grow into layers when several steps share the same game interaction or several features touch the same system.
- Change your mind cheaply. Scenarios are meant to be independent, negotiable, valuable, estimable, small and testable (INVEST). Changing the specification means editing a sentence and running it again.
It fits the pipeline you already have
- Unreal Automation Framework. Scenarios appear in the Session Frontend next to your existing tests, and run from the command line with
Automation RunTests. - Headless. World-based features (physics, multiple actors, multiplayer in the editor) run with
-nullrhion a build machine, with no window or GPU. - Blueprint and C++, in Unreal Engine 5.6 to 5.8, on Windows, Linux and macOS.
- Open formats. Import from and export to Gherkin, SpecFlow, Robot Framework, Gauge and FitNesse, plus ZagalaSpec’s own lossless
.zagalaspectext format. - Never in your shipped game. Its modules are DeveloperTool and Editor modules, excluded from Shipping builds.
- Full source, and six worked examples, from a Blueprint-only feature to physics and multiplayer.
Why I built it
I’ve spent my career on the development side of games, working on titles while they were still in development: UI engineering on Tom Clancy’s XDefiant at Globant, gameplay programming on networked features at Rare Earth Games, where I also rebuilt the automation that compiled, cooked, packaged and deployed betas to Steam on every change, and gameplay work on Ranger’s Path: National Park Simulator with GRIP Studios. I’ve been writing about testing Unreal classes and CI with test-driven development since 2020.
The same lesson kept coming back: teams rarely lack skill. They lack a cheap, shared way to say what “done” means and to keep checking it. ZagalaSpec is that tool, built in Unreal, for Unreal teams.
What it is not
Being upfront saves everyone time:
- Green means the scenarios pass, nothing more. The game can still have bugs nobody wrote a scenario for. When you find one, write the scenario first, watch it fail, then fix it.
- It doesn’t replace playtesting, or the judgment of your designers and QA. It frees them from re-checking the same things by hand.
- Support is best effort, through the documentation, Discord and email, Monday to Thursday.
- AI helped build it, always under the supervision and review of the development team. The plugin is developed test-first and ships with its own automation test modules.
The series
This article is the first of a series. Each part goes deeper on one topic:
- Overview (this article)
- “Is it done?”: making feature status visible to the whole studio
- Your first executable spec, no code required
- New scenarios are new sentences, not new code
- ZagalaSpec layers: Dave Farley’s four layers, adapted for Unreal
- Testing the hard parts: physics, multiple actors and multiplayer
- Specs as release gates: headless runs in CI
- No lock-in: bring your Gherkin, SpecFlow, Robot, Gauge and FitNesse specs
- Executable specs as guardrails for AI-assisted development
- The business case for executable specifications
New parts are published weekly, linked from the series menu at the top of each article and announced on Discord.
Try it in two minutes
- Install ZagalaSpec from your Fab Library (Install to Engine) and enable it in Edit > Plugins.
- Open Tools > Session Frontend > Automation and search for
Features.ZagalaSpec. - Tick
BlueprintFeatureand press Start Tests. Both scenarios turn green.
Then open the feature asset, change a number in a sentence, and watch it turn red with a reason. That’s the whole idea, in two minutes.