Tests are run with the pyTest/
- Tests marked with
@pytest.mark.skipci
will not run by the continuous integration tests
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
- Run all tests
pytest
- Run tests in
test_basic.py
pytest tests/test_basic.py
- Run tests decorated with @pytest.mark.favorites decorator
pytest -m favorites
- Run all tests and print out stdout
pytest -s
- Run all tests which are run on the CI server
pytest -v -m "not skipci"