(t *testing.T)
| 331 | } |
| 332 | |
| 333 | func TestComposeFileSetByProjectDirectory(t *testing.T) { |
| 334 | c := NewCLI(t) |
| 335 | defer c.cleanupWithDown(t, "dotenv") |
| 336 | |
| 337 | dir := filepath.Join(".", "fixtures", "dotenv", "development") |
| 338 | cmd := c.NewDockerComposeCmd(t, "--project-directory", dir, "config") |
| 339 | res := icmd.RunCmd(cmd) |
| 340 | res.Assert(t, icmd.Expected{ |
| 341 | ExitCode: 0, |
| 342 | Out: "image: backend:latest", |
| 343 | }) |
| 344 | } |
| 345 | |
| 346 | func TestComposeFileSetByEnvFile(t *testing.T) { |
| 347 | c := NewCLI(t) |
nothing calls this directly
no test coverage detected