DEV Community

Discussion on: Using Docker Compose for PHP Development

Collapse
 
marcobaumgartl profile image
Marco Baumgartl

I know it's not part of this article but I'm interested in the testing part. How do you ensure the database is up and accepting connections before you run the integrations tests?

Collapse
 
kellyjandrews profile image
Kelly Andrews

I wrote a second article which goes into detail about a bin script that will check for postgres having a ready state.

dev.to/kellyjandrews/using-codeshi...