-
Notifications
You must be signed in to change notification settings - Fork 3
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
Is it possible to have this persist to a file? #6
Comments
Why do you need it? It is better to start from a clean database for test purposes. |
My plan was to have a prepopulated database that everything could load. |
I'd propose to prepare SQL-scripts for this and run them before tests. You could use database migration tools (here is an example - https://github.com/honourednihilist/gradle-postgresql-embedded-example/blob/master/src/main/liquibase/db/changelog/db.changelog-0.1.0.xml). It will be a reusable piece of work. For example, if you migrate from this gradle plugin to something else. |
So we don't lose data on every start
The text was updated successfully, but these errors were encountered: