Organizing pytests by integration or not
Plugin for pytest to mark tests as integration or slow integration.
Integration tests are run after normal tests (unit tests) and slow integration tests are run after (quick) integration tests.
If a unit test fails, (quick) integration and slow integration tests are not run.
If a (quick) integration tests fails, slow integration tests are not run.
If you have also installed pytest-cov, then code coverage is disabled for all integration tests, since unit tests are supposed to cover all the code.
Added pytest markers
Added pytest command line options
--with-integrationRun (quick) integration tests (default)
--with-slow-integrationRun slow integration tests (default)
--integration-coverLet integration tests contribute to coverage
with options also have a
See the example directory. Examples of how to run are in the Makefile.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pytest_integration-0.1.0rc1.tar.gz (2.6 kB)||File type Source||Python version None||Upload date||Hashes View|
|Filename, size pytest_integration-0.1.0rc1-py3-none-any.whl (4.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for pytest_integration-0.1.0rc1.tar.gz
Hashes for pytest_integration-0.1.0rc1-py3-none-any.whl