(t *testing.T)
| 540 | } |
| 541 | |
| 542 | func TestBuildSubset(t *testing.T) { |
| 543 | c := NewParallelCLI(t) |
| 544 | |
| 545 | t.Cleanup(func() { |
| 546 | c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/subset/compose.yaml", "down", "--rmi=local") |
| 547 | }) |
| 548 | |
| 549 | res := c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/subset/compose.yaml", "build", "main") |
| 550 | out := res.Combined() |
| 551 | assert.Check(t, strings.Contains(out, "main Built")) |
| 552 | } |
| 553 | |
| 554 | func TestBuildDependentImage(t *testing.T) { |
| 555 | c := NewParallelCLI(t) |
nothing calls this directly
no test coverage detected