Testing - pasqualedem/CrowdCounting-on-VisDrone2020 Wiki

Locust

locust -f tests/load_tests/locustfile.py --host http://localhost:8000

PyTest

To run pytest without gpu:

$env:PYTHONPATH = "src"
pytest -m "not gpu" --cov src tests/

To run pytest with gpu:

$env:PYTHONPATH = "src"
pytest --cov src tests/

Great Expectations

cd tests/great_expectations/checkpoints
great_expectations --v3-api checkpoint run complete_data.yml
done