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 Distribution

exeter-0.4.3.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

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

exeter-0.4.3-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file exeter-0.4.3.tar.gz.

File metadata

  • Download URL: exeter-0.4.3.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for exeter-0.4.3.tar.gz
Algorithm Hash digest
SHA256 86caf0a0e01ad56e915c82b04d10770c42a3ed37df991dac5f45aa8bfa70b61a
MD5 55fe0fc2e858bc11fe65d60f56689d36
BLAKE2b-256 fbd8ef3ee5624443e5badbcb7a5c123584cf9cca1fe8064bed613eee2f099aae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exeter-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b46aca945b406a823ce559cbbf0dbb1095e612cbe15d8211cd9d351d80ff648
MD5 b3e8ad06c299d093ecd575be2498fa12
BLAKE2b-256 9c9cdb6351241c3fcf5bafd7a1a5c18de2368cbcd3cfd23bc8d77443a3959542

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