Integration Testing
Prerequisites
Our Application
The Basic Earthfile
In-App Integration Testing
integration-test:
FROM +project-files
COPY src src
COPY docker-compose.yml ./
WITH DOCKER --compose docker-compose.yml
RUN while ! pg_isready --host=localhost --port=5432 --dbname=iso3166 --username=postgres; do sleep 1; done ;\
sbt it:test
ENDEnd to End Integration Tests
Bringing It All Together
See also
Last updated