tests: add integration tests for dap build

This adds integration tests for the `dap build` command to test various
behavior associated with the command. We start the build and the
integration test acts as a dap client to send requests and check that
the output is what we expect.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
Jonathan A. Sternberg
2025-12-17 10:56:30 -06:00
parent 150cc839f2
commit fdfba3014d
10 changed files with 1151 additions and 72 deletions
+1002
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -34,6 +34,7 @@ func TestIntegration(t *testing.T) {
tests = append(tests, dialstdioTests...)
tests = append(tests, composeTests...)
tests = append(tests, diskusageTests...)
tests = append(tests, dapBuildTests...)
testIntegration(t, tests...)
}