Using Pytest

Please make sure you have already reviewed the Development Install.

PyOIDC uses Pytest for testing.

You can install it along with the rest of the test dependencies via Pip:

$ pip install .[testing]

Now, you can run the tests by simply invoking py.test:

$ py.test

Using Tox

PyOIDC also uses Tox for testing. This is to ensure PyOIDC is supported across many versions of Python. You can install it via Pip:

$ pip install tox

Then, check the available environments with:

$ tox -l

Then run Tox on your chosen environment:

$ tox -e py36