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)
- Add your public key to github profile
- Add
git+ssh://git@github.com/F-Secure/pytest-rts.git#egg=pytest-rts
as a dependency torequirements.txt
- Install dependencies
- Use the tool with
pytest --rts
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.
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.1.9.tar.gz
(11.1 kB
view hashes)
Built Distribution
pytest_rts-1.1.9-py3-none-any.whl
(20.4 kB
view hashes)
Close
Hashes for pytest_rts-1.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979aa9501f2a947709f365fd9a015c17282ca46217aa3b019816f7aaca66421e |
|
MD5 | 87cdb2f9ea54bb6d95e88eb7b7ee5746 |
|
BLAKE2b-256 | 110bf02a9563561fb8cb6df837bf75cc79d3b1db04fedda570aa4a70e934fb04 |