DEV Community

Discussion on: API end to end testing with Docker

Collapse
 
jpdelimat profile image
Jean-Paul Delimat

That is a good idea that brings your tests even closer to the production environment. Good point. I wonder how big the dump is though and how big the resulting containers were?

Collapse
 
sonnk profile image
Nguyen Kim Son

Actually our dump is from staging (we don't want to meddle with production data, imagine a test email arrives at customer inbox 😅) and the database is not that big, in my memory, it was less than 100MB. And as the dump data is only updated once in a while, it's built into the Dockerfile and not imported every time docker-compose is run.