save checkpoint

This commit is contained in:
master
2026-02-12 21:02:43 +02:00
parent 5bca406787
commit 9911b7d73c
593 changed files with 174390 additions and 1376 deletions

View File

@@ -0,0 +1,17 @@
{
"project": "src/Router/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj",
"buildResult": "pass",
"testResult": "pass",
"totalTests": 224,
"passedTests": 224,
"failedTests": 0,
"skippedTests": 0,
"capturedAtUtc": "2026-02-12T12:30:00Z",
"errors": [],
"codeReview": {
"nonTrivialImplementation": true,
"logicMatchesDescription": true,
"unitTestsCoverCoreBehavior": true,
"assertionsMeaningful": true
}
}

View File

@@ -0,0 +1,92 @@
{
"type": "api",
"baseUrl": "http://127.0.0.1:15080",
"capturedAtUtc": "2026-02-12T12:44:00Z",
"requests": [
{
"description": "Serve HTML file from mapped /app directory",
"method": "GET",
"path": "/app/index.html",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Response body contains <h1>Test App</h1> and Content-Type is text/html",
"result": "pass",
"evidence": "<!DOCTYPE html><html><body><h1>Test App</h1></body></html>",
"requestCapturedAtUtc": "2026-02-12T12:44:01Z",
"responseSnippet": "HTTP/1.1 200 OK\nContent-Type: text/html"
},
{
"description": "Serve nested CSS file from /app/assets/",
"method": "GET",
"path": "/app/assets/style.css",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Response body is 'body { margin: 0; }' and Content-Type is text/css",
"result": "pass",
"evidence": "body { margin: 0; }",
"requestCapturedAtUtc": "2026-02-12T12:44:02Z",
"responseSnippet": "HTTP/1.1 200 OK\nContent-Type: text/css"
},
{
"description": "Return 404 for missing file in mapped directory",
"method": "GET",
"path": "/app/missing.txt",
"expectedStatus": 404,
"actualStatus": 404,
"assertion": "Response status is 404",
"result": "pass",
"evidence": "Content-Length: 0",
"requestCapturedAtUtc": "2026-02-12T12:44:03Z",
"responseSnippet": "HTTP/1.1 404 Not Found\nContent-Length: 0"
},
{
"description": "Serve JS file with correct MIME type (text/javascript)",
"method": "GET",
"path": "/app/assets/app.js",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Content-Type contains javascript",
"result": "pass",
"evidence": "Content-Type: text/javascript",
"requestCapturedAtUtc": "2026-02-12T12:44:04Z",
"responseSnippet": "HTTP/1.1 200 OK\nContent-Type: text/javascript"
},
{
"description": "Serve JSON file with correct MIME type (application/json)",
"method": "GET",
"path": "/app/data.json",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Content-Type is application/json",
"result": "pass",
"evidence": "Content-Type: application/json",
"requestCapturedAtUtc": "2026-02-12T12:44:05Z",
"responseSnippet": "HTTP/1.1 200 OK\nContent-Type: application/json"
},
{
"description": "SPA fallback: extensionless path serves index.html when x-spa-fallback=true",
"method": "GET",
"path": "/app/some/route",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Response body contains <h1>Test App</h1> (index.html served as SPA fallback)",
"result": "pass",
"evidence": "<!DOCTYPE html><html><body><h1>Test App</h1></body></html>",
"requestCapturedAtUtc": "2026-02-12T12:44:06Z",
"responseSnippet": "HTTP/1.1 200 OK"
},
{
"description": "Multiple StaticFiles mappings serve isolated content",
"method": "GET",
"path": "/docs/index.html",
"expectedStatus": 200,
"actualStatus": 200,
"assertion": "Response contains 'Docs' (not 'Test App' from /app)",
"result": "pass",
"evidence": "<!DOCTYPE html><html><body><h1>Docs</h1></body></html>",
"requestCapturedAtUtc": "2026-02-12T12:44:07Z",
"responseSnippet": "HTTP/1.1 200 OK\nContent-Type: text/html"
}
],
"verdict": "pass"
}