-
Notifications
You must be signed in to change notification settings - Fork 0
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
Development #1
Comments
Hi @Jotschi. This project looks intriguing, but I'm not totally clear on how it actually saves time. Each test still needs a database to be created and initialized, right? |
Nope, each test will get a ready made database. The preparation of the databases is done async in the background by a server which runs along with the database. Additionally no database server needs to be spun up (e.g. when using testcontainers). There are multiple ways to setup the server and initialize the template database that is being used for cloning the DB's that are handed out to tests. I prefer using the stand-alone docker option but maven would also work fine. I hope this clarifies the way it works. |
I think so. So there are two sources of efficiency:
Am I close? |
|
Ah so it's more #2. Cloning up new databases is quicker than initializing them via application code. |
@prdoyle |
Ah got it! Thanks |
Tmpfs Monitoringstart
goal sincepool
andstart
can be chained.testprovider
container image in mvn plugin.stop
mvn command.The text was updated successfully, but these errors were encountered: