|
|
@ -57,10 +57,10 @@ lint: ## reformat with black and check style with flake8 |
|
|
|
flake8 --ignore E231,W503,E402 sensospot_data tests |
|
|
|
flake8 --ignore E231,W503,E402 sensospot_data tests |
|
|
|
|
|
|
|
|
|
|
|
test: ## run tests quickly with the default Python
|
|
|
|
test: ## run tests quickly with the default Python
|
|
|
|
pytest tests -x --disable-warnings |
|
|
|
pytest tests -x --disable-warnings --random-order --failed-first |
|
|
|
|
|
|
|
|
|
|
|
coverage: ## full test suite, check code coverage and open coverage report
|
|
|
|
coverage: ## full test suite, check code coverage and open coverage report
|
|
|
|
pytest tests --cov=sensospot_data |
|
|
|
pytest tests --random-order --cov=sensospot_data |
|
|
|
coverage html |
|
|
|
coverage html |
|
|
|
$(BROWSER) htmlcov/index.html |
|
|
|
$(BROWSER) htmlcov/index.html |
|
|
|
|
|
|
|
|
|
|
|