mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-07-01 06:29:59 +02:00
📝 dinglehopper: README-DEV: Massage markdown a bit
This commit is contained in:
parent
fed021090d
commit
c48d7646df
1 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
# Testing
|
||||
|
||||
Testing
|
||||
=======
|
||||
Use `pytest` to run the tests in [the tests directory](qurator/dinglehopper/tests):
|
||||
```bash
|
||||
virtualenv -p /usr/bin/python3 venv
|
||||
|
@ -9,28 +9,28 @@ pip install -r requirements-dev.txt
|
|||
pytest
|
||||
```
|
||||
|
||||
### Test running examples
|
||||
### Only unit tests
|
||||
## Test running examples
|
||||
Only unit tests:
|
||||
```bash
|
||||
pytest -m "not integration"
|
||||
```
|
||||
|
||||
### Only integration tests
|
||||
Only integration tests:
|
||||
```bash
|
||||
pytest -m integration
|
||||
```
|
||||
|
||||
### All tests
|
||||
All tests:
|
||||
```bash
|
||||
pytest
|
||||
```
|
||||
|
||||
### All tests with code coverage
|
||||
All tests with code coverage:
|
||||
```bash
|
||||
pytest --cov=qurator --cov-report=html
|
||||
```
|
||||
|
||||
### Static code analysis
|
||||
Static code analysis:
|
||||
```bash
|
||||
pytest -k "not test" --flake8
|
||||
pytest -k "not test" --mypy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue