chatcops test: JUnit reporter and --output
Maintainer antworten meist innerhalb von 1 Tag
@kachamsiddarth arbeitet bereits daran.
Seit 28.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
CI systems (GitLab, Jenkins, Azure, the GitHub test report actions) read JUnit XML. This adds --reporter junit.
How reporters work
Reporters are registered in REPORTERS (packages/cli/src/test/reporters/index.ts:32). A Reporter has onResult(result), called as each test finishes, and onEnd(results, summary), called once with all of them and a RunSummary (mode, judge, cost). reporters/json.ts is the shortest example and reporters/pretty.ts the default. They get a ReporterOutput to write to, which is stdout today.
What to add
reporters/junit.ts: one<testsuite>per eval file and one<testcase>per test, withclassnamethe file andnamethe test name, the time in seconds from the turns'latencyMs, and a<failure>with the failed reasons and the reply for failed tests. Escape XML properly.--output <file>inpackages/cli/src/main.ts(next toreporter, around line 136). With one--reporter, write to the file instead of stdout. With several,--reporter junit=evals.xmlstyle is clearer, so supportname=fileper reporter and make--outputthe shortcut for a single one. Pick what you think reads best and explain it in the PR.
Acceptance criteria
- Tests: the XML for passing, failing and errored tests, escaping of
<,&and quotes, writing to a file - Documented in
website/src/content/docs/core/testing.mdx, with a changeset for@chatcops/cli(minor) -
pnpm test:coverageandpnpm lintpass
- Vorherrschende Sprache
- TypeScript
- Sterne
- 13
- Forks
- 7
- Ø Merge
- 3 Std. 39 Min.
- Gemergte PRs (30 T.)
- 275
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codercops/chatcops
-
Widget: fetch signed-in visitor tokens when a session is requestedEvtl. vergeben @piyusshhjangid hat das heute übernommen. Offenenhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 63/100
codercops/chatcops#461 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Widget: support CSP nonces for injected stylesEvtl. vergeben @piyusshhjangid hat das heute übernommen. Offenenhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
codercops/chatcops#460 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Server: validate `rateLimit.windowMs` before creating the limiterEvtl. vergeben @ashutoshpalhare hat das heute übernommen. Offen
codercops/chatcops#452 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Widget: a "New reply" button when the visitor has scrolled upEvtl. vergeben @srujankaleru2007 hat das vor 1 Tag übernommen. Offenenhancement hacktoberfest widget
codercops/chatcops#420 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
chatcops test: --url to test a deployed serverEvtl. vergeben @srujankaleru2007 hat das vor 1 Tag übernommen. Offenenhancement hacktoberfest testing
codercops/chatcops#419 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codercops/chatcops
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
area:desktop area:ui bug platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
anthropics/claude-code#106183 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
core: OpenRouter BYOK sessions record cost = 0 since v2.2.0 (ignores cost_details.upstream_inference_cost)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenreproduced
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#60558 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag