Skip to content

Commit dea8b91

Browse files
authored
docs: fix readme after changes in usage
1 parent 5c1a979 commit dea8b91

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,12 @@ More detailed usage is described in the [tutorial][tutorial]
2626
- install `pytest-rts`
2727
3. Switch to directory with target project
2828
4. Install all the dependencies needed for testing (should be installed into the same pytest-rts virtual environment)
29-
5. Execute `pytest --rts` which will run the entire test suite and build a mapping database
29+
5. Execute `pytest --cov=<path to code> --cov-context=test` which will run the entire test suite and build a mapping database with [pytest-cov](https://github.com/pytest-dev/pytest-cov)
30+
6. Rename the coverage file produced by `pytest-cov` to your liking. Example: `mv .coverage pytest-rts-coverage`
3031

31-
#### Running tests related to the changes
32+
#### Running new tests
3233

33-
1. execute `pytest --rts` after doing changes
34-
35-
#### Running evaluation code
36-
37-
1. execute `pytest_rts_eval` in target project directory
34+
1. execute `pytest --rts --rts-coverage-db=<your coverage file>` after adding new tests
3835

3936
## <a name="dev"></a> Development
4037

0 commit comments

Comments
 (0)