Coverage-based regression test selection (RTS) plugin for pytest
Project description
Coverage-based regression test selection (RTS) plugin for pytest
Usage
Usage as a module (no source code)
- Install the module with
pip install pytest-rts
- Use the tool with
pytest --rts
More detailed usage is described in the tutorial
Usage from source code
Initialization
- Checkout the project
- In project directory run
make install
- that will:- create virtual environment
- download all the dependencies
- install
pytest-rts
- Switch to directory with target project
- Install all the dependencies needed for testing (should be installed into the same pytest-rts virtual environment)
- Execute
pytest --rts
which will run the entire test suite and build a mapping database
Running tests related to the changes
- execute
pytest --rts
after doing changes
Running evaluation code
- execute
pytest_rts_eval
in target project directory
Development
See DEVELOPER.md for more info
Contributing
Contributing Guidelines
Read through our contributing guidelines to learn about our submission process, coding rules and more.
Code of Conduct
Help us keep the project open and inclusive. Please read and follow our Code of Conduct.
Acknowledgement
The package was developed by F-Secure Corporation and University of Helsinki in scope of IVVES project. This work was labelled by ITEA3 and funded by local authorities under grant agreement “ITEA-2019-18022-IVVES”
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
pytest-rts-1.2.1.tar.gz
(195.3 kB
view hashes)
Built Distribution
pytest_rts-1.2.1-py3-none-any.whl
(21.3 kB
view hashes)
Close
Hashes for pytest_rts-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbb90bdf799ac2c9cd91dd86094881ca92f0b6eef3065e1ff33f8a01dc896a67 |
|
MD5 | 3fd54bb5d76313d2dd849cfd83e4074e |
|
BLAKE2b-256 | 0b88a49028d3465d614576b8603284d846862a42b925ce9196ded02703be08bd |