test(e2e): solve_grid over real MCP stdio with fake LLM

This commit is contained in:
2026-06-07 13:32:32 +01:00
parent 4c433e343f
commit a1f2b99935
3 changed files with 119 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
//go:build e2e
package e2e
import (
"os"
"os/exec"
"testing"
)
func TestMain(m *testing.M) {
build := exec.Command("go", "build", "-o", "../../bin/captcha-solver-mcp", "../../cmd/captcha-solver-mcp")
build.Stdout, build.Stderr = os.Stdout, os.Stderr
if err := build.Run(); err != nil {
os.Exit(1)
}
os.Exit(m.Run())
}