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

SimpleTestCase for Django #4117

Open
alexei opened this issue Sep 27, 2024 · 0 comments
Open

SimpleTestCase for Django #4117

alexei opened this issue Sep 27, 2024 · 0 comments
Labels
enhancement it's not broken, but we want it to be better interop how to play nicely with other packages

Comments

@alexei
Copy link

alexei commented Sep 27, 2024

Currently hypothesis provides a TestCase that inherits from HypothesisTestCase and dt.TestCase. What do you think about providing a SimpleTestCase as well? That i.e. inherits from HypothesisTestCase and dt.SimpleTestCase. Django's SimpleTestCase is for tests that don't need to touch the database. It would be a useful addition as they run faster.

As an alternative, I'd prefer it if HypothesisTestCase was officially available from hypothesis.extra.django - currently it needs to be imported from hypothesis.extra.django._impl.

As a side note, I am open to helping with this - I believe it's a small change.

@Zac-HD Zac-HD added enhancement it's not broken, but we want it to be better interop how to play nicely with other packages labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement it's not broken, but we want it to be better interop how to play nicely with other packages
Projects
None yet
Development

No branches or pull requests

2 participants