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.5.tar.gz
.
File metadata
- Download URL: pytest-executable-0.5.5.tar.gz
- Upload date:
- Size: 54.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afc1bdb40fc26823cb39784735af5491fd3ece3d81e0d0aae742abc3b617dd31 |
|
MD5 | 67216c7ea7b2d59f00342e4af02ce428 |
|
BLAKE2b-256 | c243575b08989fef6a27db9ff8eec9890be85d93f45d52fc639ecf35bd250e55 |
File details
Details for the file pytest_executable-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: pytest_executable-0.5.5-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae6df2edf333abd7148ea3f75b74b60256e9e3b05cd1dd3cb4ffb51b44f6d6e |
|
MD5 | ad906d8b97baa38505c3cbf11b583e30 |
|
BLAKE2b-256 | f91124a7ec755c981bfc03fabbadf61723e42f682946c633f030382419674c59 |