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

feat: create hypothesis strategy for a given model #397

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guacs
Copy link
Member

@guacs guacs commented Oct 1, 2023

This is a WIP for automatically creating hypothesis strategies based on the given model.

Pull Request Checklist

  • New code has 100% test coverage
  • (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
  • (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
  • Pre-Commit Checks were ran and passed
  • Tests were ran and passed

Description

  • introduce an API to automatically create a hypothesis strategy for the given model

Close Issue(s)

@guacs guacs requested review from a team as code owners October 1, 2023 04:49
@guacs guacs marked this pull request as draft October 1, 2023 04:49
@guacs
Copy link
Member Author

guacs commented Oct 1, 2023

@sobolevn, I think we should start with adding tests. I'll be adding tests to this, but it would be great if you could add some as well to make sure I don't miss any edge cases etc.

@guacs
Copy link
Member Author

guacs commented Oct 1, 2023

Also, @sobolevn if you have a better idea than what I've done on how to make this optional i.e. only have this functionality if hypothesis is installed, that'd be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: support creation of Hypothesis strategies
1 participant