chatcops test: JUnit reporter and --output
Les mainteneurs répondent en général sous 1 jour
@kachamsiddarth y travaille déjà.
Depuis le 28/10/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 13
- Forks
- 7
- Merge moyen
- 3 h 39 min
- PR mergées (30 j)
- 275
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de codercops/chatcops
-
Widget: fetch signed-in visitor tokens when a session is requestedPeut-être pris @piyusshhjangid l’a pris il y a 1 jour. Ouverteenhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 63/100
codercops/chatcops#461 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Widget: support CSP nonces for injected stylesPeut-être pris @piyusshhjangid l’a pris il y a 1 jour. Ouverteenhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
codercops/chatcops#460 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Server: validate `rateLimit.windowMs` before creating the limiterPeut-être pris @ashutoshpalhare l’a pris il y a 1 jour. Ouverte
codercops/chatcops#452 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Widget: a "New reply" button when the visitor has scrolled upPeut-être pris @srujankaleru2007 l’a pris il y a 2 jours. Ouverteenhancement hacktoberfest widget
codercops/chatcops#420 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
chatcops test: --url to test a deployed serverPeut-être pris @srujankaleru2007 l’a pris il y a 2 jours. Ouverteenhancement hacktoberfest testing
codercops/chatcops#419 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de codercops/chatcops
Issues similaires
-
bug triage
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
Export the Hemi Earn Router address and the Router and Agent ABIs from `@vetro-protocol/earn`Ouvertehemi-earn
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
vetro-protocol/vetro-monorepo#1043 ·
Les mainteneurs répondent en général sous 1 jour
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
STRML/omp-classifier#206 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Les mainteneurs répondent en général sous 1 jour
-
dashboard enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Olanetsoft/agent-lookout#225 ·
Les mainteneurs répondent en général sous 1 jour