(t *testing.T)
| 584 | } |
| 585 | |
| 586 | func TestBuildLongOutputLine(t *testing.T) { |
| 587 | c := NewParallelCLI(t) |
| 588 | |
| 589 | t.Cleanup(func() { |
| 590 | c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/long-output-line/compose.yaml", "down", "--rmi=local") |
| 591 | }) |
| 592 | |
| 593 | res := c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/long-output-line/compose.yaml", "build", "long-line") |
| 594 | out := res.Combined() |
| 595 | assert.Check(t, strings.Contains(out, "long-line Built")) |
| 596 | |
| 597 | res = c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/long-output-line/compose.yaml", "up", "--build", "long-line") |
| 598 | out = res.Combined() |
| 599 | assert.Check(t, strings.Contains(out, "long-line Built")) |
| 600 | } |
| 601 | |
| 602 | func TestBuildDependentImageWithProfile(t *testing.T) { |
| 603 | c := NewParallelCLI(t) |
nothing calls this directly
no test coverage detected