Coverage-based regression test selection (RTS) plugin for pytest
Project description
<img src=”https://github.com/F-Secure/pytest-rts/raw/master/docs/imgs/pytest-rts-logo.png” width=”120px” height=”120px”/>
# Coverage-based regression test selection (RTS) plugin for pytest
[Usage](#usage)
[Development](#dev)
[Contributing](#contrib)
## <a name=”usage”></a> 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 to requirements.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
## <a name=”dev”></a> Development
See [DEVELOPER.md][developer] for more info
## <a name=”contrib”></a> Contributing
### Contributing Guidelines
Read through our [contributing guidelines][contributing] 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][codeofconduct].
[developer]: https://github.com/F-Secure/pytest-rts/tree/master/docs/DEVELOPER.md [contributing]: https://github.com/F-Secure/pytest-rts/tree/master/docs/CONTRIBUTING.md [codeofconduct]: https://github.com/F-Secure/pytest-rts/tree/master/docs/CODE_OF_CONDUCT.md
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_rts-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec54f5648ba7183e78029a09c7329979ae9bfe20b2539c4facf6c85d4c46a3f2 |
|
MD5 | a17d96ba694df112bef4650be8bf56dd |
|
BLAKE2b-256 | da0c22e7eb652cb6baf0f516cd13ef962095e0c310370b8090d61ff9386ea5b8 |