fix tests broken by lack of certs - pytest.ini provides environment variables that load tests/test_certs
16 lines
No EOL
449 B
Markdown
16 lines
No EOL
449 B
Markdown
# Bumper tests
|
|
Bumper uses pytest for the majority of test cases. Install requirements using `pipenv install --dev`
|
|
|
|
## Testing
|
|
Enter pipenv shell `pipenv shell`
|
|
|
|
### Run tests
|
|
`python -m pytest tests`
|
|
|
|
### Run tests with coverage
|
|
`python -m pytest --cov=./ tests`
|
|
|
|
### Run tests with coverage html report
|
|
`python -m pytest --cov=./ tests --cov-report html:tests/report`
|
|
|
|
The report will be output into tests/report/index.html for further analysis. |