- How to Run
- Demos
dash-geographicaldash-statistics
These demos should be run from the top-most directory in this repo (alongside the outer README.md and conftest.py files) by calling:
pytest -o addopts="" -o log_cli=true ./tests_demo/${DIRECTORY}/run.pyWhere ${DIRECTORY} should be the folder name for the demo here that you want to actually run.
Note that with dash many of these will spin-up a local webserver and needed to be viewed through a web-browser.
The above command will do a couple of things, so you can obviously modify the command as needed if you don't want any of these options:
-o addopts=""- Disables thepyproject.tomlconfig options for theaddoptsfield-o log_cli=true- Enable Logging in the Terminalpytest ./tests_demo/${DIRECTORY}/run.py- Run only the tests (test_Methods) in the givenrun.pyModule
These are the demos provided here in this tests_demo folder. Each can be run the same way, by following the How to Run section.
pytest -o addopts="" -o log_cli=true ./tests_demo/dash-geographical/run.pypytest -o addopts="" -o log_cli=true ./tests_demo/dash-statistics/run.py