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.5.1.tar.gz (43.7 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.5.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for exeter-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b7810a738d72e81a155adb1de3ec4ae3eec78051e255485df7e1797400ebce47
MD5 72d2266411902d80cd24fed6b6b0336e
BLAKE2b-256 e56b8ee1c4ec3e8f78cf2a336bf0393f08e42a1cadd83dd45e7a8656312f0180

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exeter-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3fcb639a24b35ee847c32e7f9082b6ee0d11c22ebd6440ad67eb9e9848d9a4
MD5 92f164b8cc210243c1aa58538787dd30
BLAKE2b-256 e12e586ef509ef85142b63275a73d4fcff2ccce2cb255bd6a70671ba011ff5b2

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