Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Meta-tests for resyntax/test failure reporting

オープン
#821 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
75/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
領域
testing

調査の方向性

test/private/rackunit.rkt から始め、コードブロックの pretty-printing と失敗メッセージのレンダリングを処理するコードを調べます。次に、test.rkt の raise-syntax-error パスを確認し、rackunit の run-test-case を通して関連するチェックを実行します。意図的に失敗させる meta-tests が期待される失敗出力をアサートし、束縛されていない識別子のパスと文ではない識別子のパスをカバーすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

testing

test/private/rackunit.rkt is at 76.8% coverage (69 missed lines), and the misses are exactly the code that runs when a refactoring test fails: the code-block pretty-printing writer and the failure message rendering. The raise-syntax-error paths in test.rkt for unbound or non-statement identifiers are similarly untested. Covering these means meta-tests: deliberately-failing checks run via rackunit's run-test-case with assertions on the failure output.

This is worth more than the coverage points. Reviewers lean on this failure output when reviewing AI-written rule PRs, and right now it's the least-tested part of the test framework itself.

Part of #680.

主要言語
Racket
スター
70
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jackfirth/resyntax のほかの issue

jackfirth/resyntax の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。