first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:52:23 +03:00
commit 880f412e2c
2662 changed files with 866266 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package mcptests
import (
"testing"
)
func TestHTTP_Only_Connection(t *testing.T) {
config := GetTestConfig(t)
if config.HTTPServerURL == "" {
t.Skip("MCP_HTTP_URL not set")
}
// Only HTTP client
httpClient := GetSampleCodeModeClientConfig(t, config.HTTPServerURL)
manager := setupMCPManager(t, httpClient)
// Verify connected
clients := manager.GetClients()
if len(clients) != 1 {
t.Fatalf("Expected 1 client, got %d", len(clients))
}
t.Log("✅ HTTP-only client connected successfully")
}