Executable specification

Executable specification image
Definition: An executable specification is a requirement written in a form that can also be run as an automated test. It describes what the system should do in language the business understands, while a tool connects that language to the code that checks it.

So what? Executable specifications keep requirements and tests in step. If the system changes and no longer matches the specification, the test fails, so the documentation can't quietly go out of date.

Examples: A Cucumber scenario agreed with the business that runs as part of every build. Using specifications to record agreements made in workshops and meetings.

Explore MoT
Test Forward 2027 ยท Software Quality in the age of AI image
Tue, 19 Jan 2027
Test Forward is one afternoon at Station F with the QA and engineering people closing that gap in their own teams.
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter