bumper/tests/tests.md
Brian Martin 422a28cd8d fix tests
fix tests broken by lack of certs
- pytest.ini provides environment variables that load tests/test_certs
2019-06-07 02:00:42 -04:00

449 B

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.