Skip to main content

Pytest-executable

https://img.shields.io/pypi/l/pytest-executable.svg https://img.shields.io/pypi/v/pytest-executable.svg https://img.shields.io/conda/vn/conda-forge/pytest-executable https://img.shields.io/pypi/pyversions/pytest-executable.svg https://img.shields.io/badge/platform-linux%20%7C%20macos-lightgrey Read The Docs Status Travis-CI Build Status Codecov coverage report https://img.shields.io/badge/code%20style-black-000000.svg

pytest-executable is a pytest plugin for simplifying the black-box testing of an executable, be it written in python or not. It helps to avoid writing the boilerplate test code to:

  • define the settings of a test case in a yaml file,

  • spawn a subprocess for running an executable,

  • reorder the tests properly either for a single test case or across several test cases,

  • handle the outputs and references directory trees,

  • provide convenient fixtures to customize the checking of the outcome of an executable.

It integrates naturally with standard test scripts written for pytest.

This plugin is originally intended for testing executables that create scientific data but it may hopefully be helpful for other kinds of executables. This project is still young, but already used in a professional environment.

Documentation

The project documentation and installation instructions are available online.

Contributing

A contributing guide will be soon available (just a matter of free time).

Please fill an issue on the Github issue tracker for any bug report, feature request or question.

Authors

Release files for pytest-executable 0.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-executable 0.5.6
File Size Uploaded
pytest-executable-0.5.6.tar.gz 55.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-executable 0.5.6
File Interpreter ABI Platform
pytest_executable-0.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 80.4 kB

Release files / pytest-executable-0.5.6.tar.gz

Download URL pytest-executable-0.5.6.tar.gz
Size 55.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f61d428ed84c086e6fed14a9dc5a8bfd936c2d938ed525f52b4f80262a69804c
BLAKE2b-256 checksum
How to use checksums
198f012dffc1d6af188b24b714bb093fb00184bdd656b7ea0f83d27bae551021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / pytest_executable-0.5.6-py3-none-any.whl

Download URL pytest_executable-0.5.6-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd386f755e6d2343843089bc9debe608c7df5d0505824d95347e4ec339eb416b
BLAKE2b-256 checksum
How to use checksums
15e788b6300c59ebc43513ca2c257da8a9825773e3cdbf7b412515ac93daba0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.5.6 This release

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

1 release file

0.5.0

1 release file

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page