Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 810 Bytes

README.md

File metadata and controls

51 lines (39 loc) · 810 Bytes

Testing

Tests are run with the 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

  1. Run all tests
pytest 
  1. Run tests in test_basic.py
pytest tests/test_basic.py
  1. Run tests decorated with @pytest.mark.favorites decorator
pytest -m favorites
  1. Run all tests and print out stdout
pytest -s
  1. Run all tests which are run on the CI server
pytest -v -m "not skipci"