Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 804 Bytes

DEVELOP.md

File metadata and controls

29 lines (16 loc) · 804 Bytes

Testing

Basic

The tests use pytest.

To run the test suite, run the following in a fresh virtualenv:

pip install -r requirements.txt
pytest

Testing multiple Python versions with Tox

You will need to install Tox. The test suite can then be run in multiple Python versions as follows:

tox

By default, Tox looks for tox.ini in the current directory, and uses it to determine which Python versions to use, which requirements to install, how to run the tests, etc.

Testing using GitHub Actions

See .github/workflows/ci.yml.

GitHub Actions are set up on the official Github repo (https://github.com/SemaphoreSolutions/s4-clarity-lib). They runs automatically on every pull request.