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

version 2 #24

Open
esler opened this issue Jun 8, 2021 · 0 comments
Open

version 2 #24

esler opened this issue Jun 8, 2021 · 0 comments
Assignees

Comments

@esler
Copy link
Contributor

esler commented Jun 8, 2021

Current version of library is suboptimal and it has a lot of smaller issues. Idea is to take gain experience and write completely new version. Main features.

  • cache close as possible to the storage
    • ideally storage itself is the cache (DB dump)
  • each tests has its own DB
    • no need for (problematic) cleanup
    • allow parallel test execution
  • minimal testing set
    • only tables from fixtures (some kind of master DB with complete schema would be necessary)
  • fill DB at once
    • prepare SQL in advance (from cache) and import it by one exec
  • lazy loading of fixture connections
  • better merging strategy
    • replace missing values with DEFAULT
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