Unit Testing - galizia-lab/pyview GitHub Wiki

  1. Create a development environment and install PyView for development as described here

  2. Download and register test data

  3. Open a terminal or Windows Powershell (might be open from before)

  4. Activate test environment: conda activate view_dev_py310

  5. Change directory to the root of the source code directory: cd pyview

  6. Run individual tests or all tests as below:

    1. All tests: nosetests -v
    2. Individual test: nosetests -v tests/<test_file>.py
⚠️ **GitHub.com Fallback** ⚠️