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

[test]: cover `ancestry --json` rejections in the CLI tests

オープン 初心者向け
#23 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@khoap1220-hue がすでに取り組んでいます。

2026年10月26日 から。

  • #29 @khoap1220-hue による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
cli, testing

調査の方向性

CONTRIBUTING.mdを読んでリポジトリのチェック項目を確認し、次に crates/externalize-cli/tests/cli.rs にある既存の ancestry テストを調べます。ヘッダーファイルがない場合と認証済み台帳の場合について、JSONモードでの拒否ケースを追加し、解析した verified と error フィールドおよび終了ステータス1を確認します。両方のケースが cargo test -p externalize-cli で成功し、拒否出力がテキストの場合に失敗すれば完了です。

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

説明

area/cli complexity:trivial good first issue Stellar Wave test
Context

crates/externalize-cli/tests/cli.rs checks externalize ancestry when it succeeds (text and --json), and when a header file is missing (text). A script reading --json gets no test for the failure shape.

Scope

Add tests that run ancestry --json and parse stdout as JSON:

  • with only ledger-03dca33f.xdr.gz: verified is false, error mentions header missing, exit status 1;
  • with --ledger 64791359 (the certified ledger itself): error mentions not older, exit status 1.
Done when
  • Both tests pass with cargo test -p externalize-cli.
  • They fail if ancestry printed a rejection as text in --json mode.

Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.

主要言語
Rust
スター
1
フォーク
1
平均マージ
3日 13時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

Externalize-Labs/externalize のほかの issue

Externalize-Labs/externalize の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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