Use pytest's runner to discover and execute C++ tests
Project description
Use pytest runner to discover and execute C++ tests.
Supports both Google Test and Boost::Test:
This brings several benefits:
Allows you to run all your tests in multi-language projects with a single command;
Execute C++ tests in parallel using pytest-xdist plugin;
Use --junitxml option to produce a single and uniform xml file with all your test suite results;
Filter which tests to run using standard test filtering capabilities, such as by file names, directories, keywords by using the -k option, etc.;
Usage
Once installed, when py.test runs it will search and run tests founds in test* executable files, detecting if the suites are Google or Boost tests automatically.
Requirements
Python 2.7+, Python 3.2+
pytest
Install
Install using pip:
$ pip install pytest-cpp
Support
All feature requests and bugs are welcome, so please make sure to add feature requests and bugs to the issues page!
Project details
Release history Release notifications | RSS feed
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
Hashes for pytest_cpp-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab9b79784797fe5b1a0e70fd2ff7b4223802842862755024fc53bb3981e472e5 |
|
MD5 | 0f9937ad94ddc4d8e027ebedab07d456 |
|
BLAKE2b-256 | ac82bbcf1f361778a32ad3c918e757c48c9b93b59d26a345f9456fe7ba51371a |