compose/pkg/e2e/testdata
Nicolas De Loof fe17e31be0 test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate
Vocabulary grows with Recreated (the mirror of NotRecreated),
ServiceHealthy (healthcheck status observed from inspect) and a Within
action modifier bounding blocking commands like up --wait, replacing
the hand-rolled goroutine+timer of the legacy TestStartInterval.

- cascade: abort-on-container-exit/failure scenarios inline the model;
  exit-code propagation (111) is locked with ExitCode. The one-off
  variant stays legacy — it drives a long-running up in the background.
- profiles: the four scenarios observe which services materialize
  instead of grepping ps output; the dotenv variant declares its .env
  inline, making the activation mechanism visible.
- TestRecreateWithNoDeps now asserts both sides: the service is
  replaced (Recreated) and the healthy dependency is left alone.
- Fixtures start_interval/, profiles/compose.yaml+test-profile.env and
  recreate-no-deps.yaml are removed; cascade/ stays for the legacy
  one-off test.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00
..
TestActiveProfileViaTargetedService test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeFail test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeStop test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCreateIdempotentDefaultPlatform
TestCreateIdempotentSharedImageMixedPlatforms
TestCreateLocalMultiPlatformImage
TestDotEnvProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExplicitProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExposeRange test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestImageVolumeImageAlreadyLocal
TestIPC test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestNoDepsNetworkMode test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoDepsVolumeFrom test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestPause
TestPauseServiceAlreadyPaused
TestPauseServiceDoesNotExist
TestPauseServiceNotRunning
TestPullRefreshWindowExplicitPull
TestRecreateWithNoDeps test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestRemoveOrphans test(e2e): TestRemoveOrphans states its real intent — COMPOSE_REMOVE_ORPHANS from .env 2026-08-18 16:49:56 +02:00
TestRestart
TestStartInterval test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestStartSingleServiceAndDependency test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStop test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithDependencies test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithOneOffs test(e2e): one-off vocabulary — service checks skip run containers 2026-08-18 16:49:56 +02:00
TestUpBuildUnchangedContext
TestUpContainerNameConflict test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestUpDryRunMissingImage
TestUpNoDeps test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestWaitAndDrop test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnFaster test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnSlower test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00