Running the tests
jschon is tested using the JSON Schema Test Suite (excluding optional and format tests), along with custom unit tests that make use of the Hypothesis testing library.
To run the tests, install jschon in editable mode, including testing dependencies:
pip install -e git+https://github.com/marksparkza/jschon.git#egg=jschon[test]
cd to the jschon source directory (
pip show jschon will give you
the location), and type
Note that a complete test run requires all of the supported Python versions (3.8, 3.9, 3.10, 3.11) to be installed on your system.