Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better testing #469

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Better testing #469

wants to merge 12 commits into from

Conversation

thomaspinder
Copy link
Collaborator

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've formatted the new code by running poetry run pre-commit run --all-files --show-diff-on-failure before committing.
  • I've added tests for new code.
  • 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.

Issue Number: N/A

@thomaspinder thomaspinder self-assigned this Aug 18, 2024
@thomaspinder thomaspinder added the testing Testing label Aug 18, 2024
@thomaspinder thomaspinder added this to the 0.10.0 milestone Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant