pytest plugin for testing executables
Project description
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.
Copyright and License
Copyright 2020, CS GROUP
pytest-executable is a free and open source software, distributed under the Apache License 2.0. See the LICENSE.txt file for more information, or the quick summary of this license on tl;drLegal website.
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
File details
Details for the file pytest-executable-0.5.3.tar.gz
.
File metadata
- Download URL: pytest-executable-0.5.3.tar.gz
- Upload date:
- Size: 53.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28050aacaabe1026b32ad3d5e3eeee265bbfb5cfc72cfcbb879a58f3d7266bd3 |
|
MD5 | 8cdb440ab63383e06dc324bd80704bbd |
|
BLAKE2b-256 | f5dec730b4780c683e448be0a5f5504a5440df1a3a55635ec17ccd6f4636fd1a |
File details
Details for the file pytest_executable-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: pytest_executable-0.5.3-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec60145d46b20dd7c1d0fd23a2f28a464e1fe7f3df1ad4154c4ad9eb8bbc8cc7 |
|
MD5 | 49ce332ca5d5c2c52dea2bfb27d0f03d |
|
BLAKE2b-256 | 3facbb793f548d8284f8aa942b862dd9ed87fa8cfb334b0ca982b5c7afb06e5d |