Remove markdown test docs and document tests inline

This commit is contained in:
2026-03-24 02:30:38 +08:00
parent fb2b2dc8be
commit fd2b57feaf
257 changed files with 174 additions and 10431 deletions
@@ -9,11 +9,12 @@ import (
"testing"
"time"
"ai-workflow-skill/packages/operator-api/internal/app"
dbpkg "ai-workflow-skill/packages/coord-core/db"
"ai-workflow-skill/packages/coord-core/store"
"ai-workflow-skill/packages/operator-api/internal/app"
)
// TestRouterExposesReadOnlyWebEndpoints verifies the read-only web endpoints return seeded coordination data.
func TestRouterExposesReadOnlyWebEndpoints(t *testing.T) {
t.Parallel()
@@ -107,6 +108,7 @@ func TestRouterExposesReadOnlyWebEndpoints(t *testing.T) {
assertStatusAndJSONField(t, handler, "/api/threads/"+dispatch.Attempt.ThreadID, http.StatusOK, []string{"thread", "thread", "thread_id"}, dispatch.Attempt.ThreadID)
}
// TestRouterMapsNotFoundErrors verifies missing resources map to a not_found API error.
func TestRouterMapsNotFoundErrors(t *testing.T) {
t.Parallel()