compose/pkg/e2e
Nicolas De Loof ee7f323fed test(e2e): run and up scenarios
- compose run splits into seven scenarios (one-off basics, ports, deps,
  optional deps, quiet pull, --pull always, chained build contexts).
  The orphan-warning cases fold into the basic scenario: an exited
  one-off IS the orphan the next run warns about, no second compose
  file needed. Piped-stdin and stop-signal tests stay legacy.
- up/compose_up: unhealthy service, dependency exit (both now also
  locking that dependents stay in created state), build dependencies
  (project-scoped image name instead of the fixture's global one),
  optional dependency, --all-resources, profile targeting (dropping the
  fixture's global container_names), image-by-ID, exit-code-from (42
  and 143), port ranges, stdout/stderr separation (StderrContains joins
  the vocabulary) and logging-driver reconfiguration (now locking the
  Recreated expectation). The Ctrl-C dependency test stays legacy.
- Fixtures start-fail/, resources/, stop/, port-range/, stdout-stderr/,
  logging-driver/, profiles/ and most of dependencies/ and run-test/
  are removed.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00
..
fixtures test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
testdata test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
assert.go fix mixed assertion libraries in tests 2026-03-31 17:32:51 +02:00
bridge_test.go Reuse bridge image version in e2e tests 2026-08-06 16:00:08 +02:00
build_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
cancel_test.go test: replace context.Background()/context.TODO() with t.Context() 2026-01-20 11:34:11 +01:00
cascade_test.go test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
checks.go test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
commit_test.go test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
compose_environment_test.go test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
compose_exec_test.go test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
compose_run_build_once_test.go fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
compose_run_test.go test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
compose_test.go fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
compose_up_test.go test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
config_test.go test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
configs_test.go test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
container_name_test.go test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
cp_test.go test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
e2e_config_plugin.go chore(e2e): fix flaky test & standalone behavior (#11382) 2024-01-30 10:49:53 -05:00
e2e_config_standalone.go
env_file_test.go test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
events_test.go fix(events): validate service names before subscribing to events 2026-08-18 10:48:59 +02:00
exec_test.go prefer application container vs one-off running exec without index 2025-09-07 14:41:34 +02:00
export_test.go test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
expose_test.go test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
framework.go test(e2e): cp, environment and config scenarios 2026-08-18 16:49:56 +02:00
healthcheck_test.go test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
hooks_test.go test(e2e): exec and lifecycle-hook scenarios 2026-08-18 16:49:56 +02:00
image_identity_corner_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
image_identity_test.go fix(build): canonical content-digest producer, single image-label writer 2026-08-13 12:03:29 +02:00
images_test.go fix(images): tolerate containers whose image record is gone 2026-08-14 15:20:37 +02:00
ipc_test.go test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
logs_test.go test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
main_test.go
model_test.go fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
multiplatform_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
networks_test.go test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
noDeps_test.go test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
orphans_test.go test(e2e): TestRemoveOrphans states its real intent — COMPOSE_REMOVE_ORPHANS from .env 2026-08-18 16:49:56 +02:00
pause_test.go test(e2e): pause scenarios — paused is a container state, ExitCode locks error paths 2026-08-18 16:49:56 +02:00
profiles_test.go test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
providers_test.go test(e2e): prepend provider bin dir to PATH in provider tests 2026-08-18 10:47:48 +02:00
ps_test.go fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
publish_test.go test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
pull_test.go test(e2e): pull and network scenarios 2026-08-18 16:49:56 +02:00
recreate_no_deps_test.go test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
restart_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
scale_test.go test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
scenario.go test(e2e): publish-check scenarios — WithStdin answers the prompts 2026-08-18 16:49:56 +02:00
SCENARIO.md test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
secrets_test.go test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
start_stop_test.go test(e2e): one-off vocabulary — service checks skip run containers 2026-08-18 16:49:56 +02:00
testdata_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
up_test.go test(e2e): run and up scenarios 2026-08-18 16:49:56 +02:00
volumes_test.go test(e2e): testdata/<TestName>/ anchors each scenario's project files 2026-08-18 16:49:56 +02:00
wait_test.go test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
watch_test.go watch: do not rebuild depends_on services on file change 2026-06-19 11:23:50 +02:00