Skip to content

Testing

Tests are run with pyTest.

Test Structure

  • Tests marked with @pytest.mark.skipci will not run by the continuous integration tests

Setup

Pytest can be installed using one of the following options.

Install along with all development requirements (recommended):

pip install -r dev-requirements.txt

Install using PIP:

pip install pytest

Install using Conda:

conda install pytest

Running Tests

All tests

pytest

Tests in a specific file

pytest tests/test_basic.py

Tests with a specific decorator

pytest -m favorites

Continuous Integration Tests

pytest -v -m "not skipci"