You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK-021-005: Add HTTP/2 connection and multiplexing integration tests
- Created `src/TurboHttp.IntegrationTests/H2/ConnectionIntegrationTests.cs` with 5 tests
- Tests cover: sequential reuse, concurrent multiplexing (Task.WhenAll), binary POST echo, multi-endpoint, and POST+GET on same connection
- All tests use `[Collection("H2")]` and `new Version(2, 0)`
- DisplayNames follow `Conn-H2-001` through `Conn-H2-005` pattern
- Build: 0 errors, 0 warnings
- All 5 tests pass
@@ -144,22 +144,17 @@ TurboHttp has 139 integration tests but coverage is heavily skewed toward HTTP/1
144
144
- No chunked encoding in HTTP/1.0
145
145
146
146
**Acceptance Criteria:**
147
-
-[]`CacheH10IntegrationTests.cs` created with 11 tests mirroring `CacheIntegrationTests`
148
-
-[]`ErrorHandlingH10IntegrationTests.cs` created with ~8 tests (adapted from `ErrorHandlingIntegrationTests`, excluding HTTP/1.1-specific edge cases like chunked)
149
-
-[]`ConnectionH10IntegrationTests.cs` created with ~4 tests:
147
+
-[x]`CacheH10IntegrationTests.cs` created with 11 tests mirroring `CacheIntegrationTests`
148
+
-[x]`ErrorHandlingH10IntegrationTests.cs` created with ~8 tests (adapted from `ErrorHandlingIntegrationTests`, excluding HTTP/1.1-specific edge cases like chunked)
149
+
-[x]`ConnectionH10IntegrationTests.cs` created with ~4 tests:
150
150
- Default no keep-alive (connection closes after single request)
151
151
- Explicit `Connection: Keep-Alive` opt-in
152
152
- Sequential requests on keep-alive connection
153
153
-`Connection: close` explicitly
154
-
-[ ] All tests use `new Version(1, 0)` and `[Collection("Http1Integration")]`
@@ -202,25 +197,25 @@ TurboHttp has 139 integration tests but coverage is heavily skewed toward HTTP/1
202
197
**Successors:** TASK-021-011
203
198
**Parallel:** yes — can run alongside TASK-021-001, TASK-021-002, TASK-021-003, TASK-021-004, TASK-021-005, TASK-021-007
204
199
205
-
**Pattern:** Copy HTTP/1.1 test classes, change to `KestrelTlsFixture`, `[Collection("TlsIntegration")]`, `scheme: "https"`, `new Version(1, 1)`. Rename DisplayNames to `*-TLS-NNN`.
200
+
**Pattern:** Copy HTTP/1.1 test classes, change to `KestrelTlsFixture`, `[Collection("TLS")]`, `scheme: "https"`, `new Version(1, 1)`. Rename DisplayNames to `*-TLS-NNN`.
206
201
207
-
**Note:** The existing `TlsIntegrationTests.cs` (9 tests) covers a mix of basic features. The new files provide dedicated per-feature coverage. The old file can remain as a cross-cutting sanity check.
202
+
**Note:** The existing `IntegrationTests.cs` (9 tests) covers a mix of basic features. The new files provide dedicated per-feature coverage. The old file can remain as a cross-cutting sanity check.
208
203
209
204
**Acceptance Criteria:**
210
-
-[ ]`CompressionTlsIntegrationTests.cs` created with 7 tests
211
-
-[ ]`CookieTlsIntegrationTests.cs` created with 11 tests
212
-
-[ ]`RedirectTlsIntegrationTests.cs` created with 14 tests
213
-
-[ ]`RetryTlsIntegrationTests.cs` created with 9 tests
214
-
-[ ] All tests use `KestrelTlsFixture`, `[Collection("TlsIntegration")]`, `scheme: "https"`
205
+
-[ ]`CompressionIntegrationTests.cs` created with 7 tests
206
+
-[ ]`CookieIntegrationTests.cs` created with 11 tests
207
+
-[ ]`RedirectIntegrationTests.cs` created with 14 tests
208
+
-[ ]`RetryIntegrationTests.cs` created with 9 tests
209
+
-[ ] All tests use `KestrelTlsFixture`, `[Collection("TLS")]`, `scheme: "https"`
0 commit comments