Meta-tests for resyntax/test failure reporting
まだ誰も着手していません。
評価
- 難易度
- 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 の本文から書いたものです。
説明
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 はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jackfirth/resyntax のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
testing
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
testing
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
new lint
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
jackfirth/resyntax の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
TencentCloud/Octop#1462 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`pulptest` no longer works in 4.0.0: `ImportError: Start directory is not importable: 'pulp/tests'`オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
project: hipdnn
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ROCm/rocm-libraries#12843 ·
メンテナーはふだん 2 日以内に返信
-
bug P1
難易度 2/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信