Skip to content

CS-SI/pytest-executable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Antoine DECHAUME
Oct 7, 2023
ceff006 · Oct 7, 2023

History

98 Commits
Oct 7, 2023
Jan 24, 2023
Nov 5, 2022
Jan 24, 2023
Oct 7, 2023
Mar 25, 2023
Oct 7, 2023
Oct 7, 2023
Apr 23, 2020
Nov 10, 2021
Oct 7, 2023
Oct 7, 2023
Mar 25, 2023
May 4, 2020
Jan 24, 2023
Nov 10, 2021
Apr 23, 2020
Apr 23, 2020
Oct 7, 2023
Oct 7, 2023
Oct 7, 2023

Repository files navigation

Pytest-executable

https://img.shields.io/conda/vn/conda-forge/pytest-executable

https://img.shields.io/badge/platform-linux%20%7C%20macos-lightgrey

Read The Docs Status Travis-CI Build Status Codecov coverage report

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

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.