summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlowercase00 <21188280+lowercase00@users.noreply.github.com>2023-02-13 01:16:34 -0300
committerGitHub <noreply@github.com>2023-02-13 11:16:34 +0700
commiteef6dbbb3cedf409209eaace0823dd220e0bde70 (patch)
treee4a4d4c525a9b126d033a115f2c8335ffdf4c8b8 /docs
parent3d840a79ad443f0dd21034e3b22b2579e4d3c4a2 (diff)
downloadrq-eef6dbbb3cedf409209eaace0823dd220e0bde70.tar.gz
docs: fix typos (#1813)
Diffstat (limited to 'docs')
-rw-r--r--docs/contrib/testing.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/contrib/testing.md b/docs/contrib/testing.md
index 91a1598..f8da71e 100644
--- a/docs/contrib/testing.md
+++ b/docs/contrib/testing.md
@@ -15,32 +15,32 @@ Bear in mind that you need to have all those versions installed in your local en
### Testing with Pytest directly
-For a faster and simpler testing alternative you can just run `pytest` directlyL
+For a faster and simpler testing alternative you can just run `pytest` directly.
```sh
pytest .
```
It should automatically pickup the `tests` directory and run the test suite.
-Bear in mind that some tests will be skipped in a local environment - make sure to look at what tests are being skipped.
+Bear in mind that some tests may be be skipped in your local environment - make sure to look at which tests are being skipped.
### Skipped Tests
-Apart from skipped tests related to interpreter (eg `PyPy`) or operational systems, slow tests are also skipped by default, but are ran in the GitHub CI/CD workflow.
+Apart from skipped tests related to the interpreter (eg. `PyPy`) or operational systems, slow tests are also skipped by default, but are ran in the GitHub CI/CD workflow.
To include slow tests in your local environment, use the `RUN_SLOW_TESTS_TOO=1` environment variable:
```sh
RUN_SLOW_TESTS_TOO=1 pytest .
```
-If you want to analyze the coverage reports, you can use the `--cov` argument to `pytest`:
+If you want to analyze the coverage reports, you can use the `--cov` argument to `pytest`. By adding `--cov-report`, you also have some flexibility in terms of the report output format:
```sh
RUN_SLOW_TESTS_TOO=1 pytest --cov=./ --cov-report={{report_format}} --durations=5
```
-Where you replace thte `report_format` fot the desired formatting ()`term` / `html` / `xml`).
+Where you replace the `report_format` by the desired format (`term` / `html` / `xml`).
### Using Vagrant