Browse Source

globally randomizing test order on coverage

xmlparsing
Holger Frey 4 years ago
parent
commit
c5c068408a
  1. 2
      Makefile

2
Makefile

@ -60,7 +60,7 @@ test: ## run tests quickly with the default Python
pytest tests -x --disable-warnings --random-order --failed-first 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 --random-order --cov=sensospot_data pytest tests --random-order --random-order-bucket=global --cov=sensospot_data
coverage html coverage html
$(BROWSER) htmlcov/index.html $(BROWSER) htmlcov/index.html

Loading…
Cancel
Save