A test protocol for tests independent of language and runner
Project description
EXEcutable TestER (exeter)
A test protocol and library collection for language-independent testing.
Overview
exeter is a test protocol allowing tests to be written in any language, then run with a variety of testing tools. Unlike TAP, it prioritises parallel execution and stable test IDs.
Libraries for several languages implement the protocol in a way natural for the language. Register tests with exeter to create executables that can run individual tests or generate manifests. Frameworks like Avocado or Meson then execute and collate results.
This separates test language choice from test runner choice. Write tests in the most convenient language for each case whilst maintaining unified results. Debug individual tests without framework overhead.
Why exeter?
vs Language-specific runners:
- Poor support for multi-language projects
- Often limited support for test matrices
vs other frameworks:
- May impose unnatural styles (e.g. Java-isms in other languages)
- May require unpleasant DSLs for matrices
vs TAP:
- Sequential execution (parallel is possible, but awkward)
- Encourages test inter-dependency
- Numeric test IDs that change
- Difficult to debug a single test
exeter advantages:
- Language independence
- Natural syntax per language
- Individual test execution
- With minimal overhead
- Programmatic test matrices
- In your language of choice
- Parallel execution by design
How it works
- Write tests using exeter libraries
- Register tests to create an executable
- Run executable manually, OR
- Generate manifest for a test runner (Avocado, Meson, etc.)
exeter focuses on test creation, not execution or collation.
Languages
All provide the same test runner interface but prioritise language-specific patterns over identical test-writing APIs.
Test runners
Can work with any framework that executes commands. Specific information on some common runners:
Further information
Presentation slides from Everything Open 2025: gitlab.com/dgibson/eo2025
Trivia
It's named after here, not here.
Author
Copyright Red Hat
Written by David Gibson david@gibson.dropbear.id.au
Distributed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exeter-0.4.2.tar.gz.
File metadata
- Download URL: exeter-0.4.2.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94e21be4d79e5f4a3236f47f47492dbdfe6a902e54b39ca660b458f9b717e486
|
|
| MD5 |
4c7dc63282c4540772277892fd526c37
|
|
| BLAKE2b-256 |
73e4e3a0b299712ce6975a24751f11395a23bdd2c68a981027342b13c8d3c54e
|
File details
Details for the file exeter-0.4.2-py3-none-any.whl.
File metadata
- Download URL: exeter-0.4.2-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5f38131c2cfb679e4224f8f8fd74289e926061dcbf2e118e5b0d364c1cedf3
|
|
| MD5 |
03495e5f5de9dbba7e12e8b742cdce4b
|
|
| BLAKE2b-256 |
26507427e9cefd20fa8dbef856b4bda693097a04e5f8f1601173f5db3faff8c5
|