Testing

Before contributing to RadText, make sure your patch passes our test suite and your code style passes our code linting suite.

RadText uses pytest to execute testing. Before testing, make sure you have pytest installed:

$ pip install pytest pytest-cov

To run the full test against your changes, simply run pytest. pytest should return without any errors. You can run pytest against all of our environments by running:

$ export PYTHONPATH=src:.
$ python -m pytest --cov-report html --cov=radtext tests

Continuous Integration

The RadText test suite is exercised by GitHub Actions on every push to our repo at GitHub. You can check out the current build status: https://github.com/bionlplab/radtext/actions