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

More granular database fixtures #247

Open
pelme opened this issue Jul 25, 2015 · 1 comment
Open

More granular database fixtures #247

pelme opened this issue Jul 25, 2015 · 1 comment

Comments

@pelme
Copy link
Member

pelme commented Jul 25, 2015

A lot of issues reported would benefit from a more general approach to hooking into/overriding how pytest-django's internal fixtures with regard to managing the database. This issue is a place to collect related issues that should be solved when re-thinking/re-organizing the fixtures.

The (now quite old) branch https://github.com/pytest-dev/pytest-django/tree/fixturefix is the place where I have been experimenting with ideas in this area.

Support hooking into database creation:

Support having database fixtures in session, module, class scope:

@pelme
Copy link
Member Author

pelme commented Jun 25, 2016

This is the issue which gathers some of the existing issues in one place. /cc @blueyed

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

No branches or pull requests

1 participant