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

Avoid relying on data migrations in Python tests #2531

Open
hackdna opened this issue Jan 24, 2018 · 0 comments
Open

Avoid relying on data migrations in Python tests #2531

hackdna opened this issue Jan 24, 2018 · 0 comments

Comments

@hackdna
Copy link
Member

hackdna commented Jan 24, 2018

This would:

  • speed up test runs significantly by not applying migrations for every test run
  • make tests less brittle by removing dependence on data migrations

Test data can be easily created using Factory Boy or by creating models instances directly

See also #2235 and #2508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Technical Debt
  
Backlog
Development

No branches or pull requests

2 participants