Unit Testing - galizia-lab/pyview GitHub Wiki
-
Create a development environment and install PyView for development as described here
-
Open a terminal or Windows Powershell (might be open from before)
-
Activate test environment:
conda activate view_dev_py310 -
Change directory to the root of the source code directory:
cd pyview -
Run individual tests or all tests as below:
-
All tests:
pytest -v -
Individual test:
pytest -v tests/<test_file>.py
-
All tests: