[X] I've formatted the new code by running poetry run pre-commit run --all-files --show-diff-on-failure before committing.
[X] I've added tests for new code.
[X] I've added docstrings for the new code.
Description
This PR introduces hypothesis as a testing library. Where appropriate, data and/or parameters are now sampled from hypothesis and not from hardcoded values. Additionally, functions that are commonly used within unit tests have now been moved under gpjax/testing and themselves tested. This will provide more reliable testing.
Type of changes
Checklist
poetry run pre-commit run --all-files --show-diff-on-failure
before committing.Description
This PR introduces hypothesis as a testing library. Where appropriate, data and/or parameters are now sampled from hypothesis and not from hardcoded values. Additionally, functions that are commonly used within unit tests have now been moved under
gpjax/testing
and themselves tested. This will provide more reliable testing.Issue Number: N/A