chatcops test: JUnit reporter and --output
メンテナーはふだん 1 日以内に返信
@kachamsiddarth がすでに取り組んでいます。
2026年10月28日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- TypeScript
- スター
- 13
- フォーク
- 7
- 平均マージ
- 3時間 39分
- マージ済み PR(30日)
- 275
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/chatcops のほかの issue
-
Widget: fetch signed-in visitor tokens when a session is requested対応中かも @piyusshhjangid が今日担当しました。 オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
codercops/chatcops#461 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Widget: support CSP nonces for injected styles対応中かも @piyusshhjangid が今日担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
codercops/chatcops#460 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Server: validate `rateLimit.windowMs` before creating the limiter対応中かも @ashutoshpalhare が今日担当しました。 オープン
codercops/chatcops#452 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Widget: a "New reply" button when the visitor has scrolled up対応中かも @srujankaleru2007 が 1 日前に担当しました。 オープンenhancement hacktoberfest widget
codercops/chatcops#420 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chatcops test: --url to test a deployed server対応中かも @srujankaleru2007 が 1 日前に担当しました。 オープンenhancement hacktoberfest testing
codercops/chatcops#419 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
codercops/chatcops の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
anthropics/claude-code#106183 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#60558 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信