Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 784 Bytes

testing.rst

File metadata and controls

44 lines (25 loc) · 784 Bytes

Testing

openedx-rg-plugin has an assortment of test cases and code quality checks to catch potential problems during development. To run them all in the version of Python you chose for your virtualenv:

$ make validate

To run just the unit tests:

$ make test

To run just the unit tests and check diff coverage

$ make diff_cover

To run just the code quality checks:

$ make quality

To run the unit tests under every supported Python version and the code quality checks:

$ make test-all

To generate and open an HTML report of how much of the code is covered by test cases:

$ make coverage