Skip to content

Allow to warm up Docker services before E2E tests - #6

Merged
Toflar merged 3 commits into
mainfrom
feature/docker-service-warm-up
Sep 30, 2026
Merged

Toflar merged 3 commits into
mainfrom
feature/docker-service-warm-up

Conversation

@Toflar

@Toflar Toflar commented Sep 30, 2026

Copy link
Copy Markdown
Member

This adds optional PHPUnit-driven Docker service warm-up for E2E test suites.

Without the extension, Docker services continue to start on demand. When configured for selected test suites, the extension discovers the services advertised by their test classes and starts them before the tests run. It does not wait for database readiness during warm-up, allowing e.g. multiple database variants to start early while other test setup continues.

The managed-edition base test case automatically exposes the Docker services required by its configuration. Tests with another base class can implement DockerServiceProviderInterface directly. The generic service interface also leaves room for services other than databases.

@Toflar
Toflar merged commit ebea980 into main Sep 30, 2026
11 checks passed
@Toflar
Toflar deleted the feature/docker-service-warm-up branch September 30, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant