Skip to main content

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

  1. Write tests using exeter libraries
  2. Register tests to create an executable
  3. Run executable manually, OR
  4. 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exeter-0.4.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file exeter-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: exeter-0.4.1-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

Hashes for exeter-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a0f928da9f6220f69e4327695cd2eef744899130a9aead565d085b6d140677c
MD5 a533a7baab80af64fa1fe0ff740c1f19
BLAKE2b-256 6eab0f06c0a8c7d5fbe479ecd0b6fd86fa292012270c2a5c64241b66c5ca3240

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page