Add e2e tests

This commit is contained in:
2026-02-18 00:03:59 +04:00
parent d197e90103
commit 4b3230bb27
26 changed files with 4490 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
package e2e
import (
"testing"
)
func TestValidation_ConcurrencyExceedsMax(t *testing.T) {
t.Parallel()
res := run("-U", "http://example.com", "-r", "1", "-q", "-c", "200000000")
assertExitCode(t, res, 1)
assertContains(t, res.Stderr, "concurrency must not exceed 100,000,000")
}