Skip to content

Dedupe runners for cli and server paths - #108

Open
bryantaustin13 wants to merge 2 commits into
cqframework:mainfrom
bryantaustin13:dedupe-runners
Open

Dedupe runners for cli and server paths#108
bryantaustin13 wants to merge 2 commits into
cqframework:mainfrom
bryantaustin13:dedupe-runners

Conversation

@bryantaustin13

Copy link
Copy Markdown
Contributor

NOTE: Depends on #105 (error-expecting test handling) — this branch is based on it and uses its responseIndicatesError/classification logic. Merge #105 first, then rebase this onto main so the diff shows only the dedup.

Extracts a single run-test-core (createExecutionContext + runTest) that both TestRunner (CLI) and TestExecutionService (server/MCP) now wrap, so a test scores identically regardless of entry point. Drops axios from the test path (fetch only), folds version-gating into the shared path so it also runs server-side, and normalizes skipMessage (removes the stray SkipMessage that dropped server skip reasons). Behavior-preserving: 0 status differences across 2035 tests CLI before/after, and 0 differences between CLI and server after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant