Tests: cover every subcommand in the help test
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
Research direction
Start with tests/cli_help.rs and its COMMANDS list, which currently has 10 entries. Add the missing subcommands (sign, verify, factor, check, integrate, context) and put serve in a separate list behind #[cfg(feature = "api")]. Done when cargo test --locked --test cli_help and cargo test --locked --no-default-features --test cli_help both pass and the file stays under 400 lines.
Written by the indexing model from the issue text.
Description
English
Goal: The help test should cover every subcommand.
tests/cli_help.rs checks that each command's --help exists in German and English and contains an example, a usage heading and the exit codes. The list COMMANDS only has 10 entries; newer commands are missing: sign, verify, factor, check, integrate, serve (only with the default feature api) and context.
Tasks
- Add the missing commands to
COMMANDS(mind thatserveonly exists with theapifeature – e.g. a separate list behind#[cfg(feature = "api")]). - Run
cargo test --locked --test cli_helpandcargo test --locked --no-default-features --test cli_help.
Acceptance criteria
- All subcommands are checked in both languages; the test passes with and without default features.
- The file stays under 400 lines.
Hints: All these commands already have examples today, so this is a pure test change. Start: cargo test --locked --test cli_help.
Deutsch
Ziel: Der Hilfetest soll alle Unterbefehle abdecken.
tests/cli_help.rs prüft, dass --help jedes Befehls auf Deutsch und Englisch existiert und ein Beispiel, die Überschrift „Verwendung“ und die Exit-Codes enthält. Die Liste COMMANDS hat nur 10 Einträge; es fehlen neuere Befehle: sign, verify, factor, check, integrate, serve (nur mit dem Standard-Feature api) und context.
Aufgaben
- Fehlende Befehle in
COMMANDSergänzen (servegibt es nur mit dem Featureapi– z. B. eigene Liste hinter#[cfg(feature = "api")]). -
cargo test --locked --test cli_helpundcargo test --locked --no-default-features --test cli_helpausführen.
Akzeptanzkriterien
- Alle Unterbefehle werden in beiden Sprachen geprüft; der Test läuft mit und ohne Standard-Features.
- Die Datei bleibt unter 400 Zeilen.
Hinweise: Alle diese Befehle haben heute schon Beispiele – reine Teständerung.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 22m
- Merged PRs (30d)
- 72
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SpecterAoD/pqkeep
-
area:cli good first issue help wanted needs translation priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
SpecterAoD/pqkeep#226 ·
Maintainers usually reply within 1 day
-
area:community good first issue help wanted priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SpecterAoD/pqkeep#225 ·
Maintainers usually reply within 1 day
-
area:cli good first issue priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SpecterAoD/pqkeep#224 ·
Maintainers usually reply within 1 day
-
area:release good first issue priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
SpecterAoD/pqkeep#223 ·
Maintainers usually reply within 1 day
-
area:daemon priority:P3 type:security
Difficulty 5/5 Over a week Newbie friendliness 15/100
SpecterAoD/pqkeep#217 · 1 comment ·
Maintainers usually reply within 1 day
All issues in SpecterAoD/pqkeep
Similar issues
-
ライブラリを追加Openpriority middle
Difficulty 1/5 Under an hour Newbie friendliness 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainers usually reply within 1 day
-
needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UCS-Care-Group/mailcraft#1429 ·
Maintainers usually reply within 1 day
-
priority: medium ready
Difficulty 1/5 Under an hour Newbie friendliness 88/100
TusanHomichi/PSIV#646 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
area:tui bug P1
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
agent-of-empires/agent-of-empires#5705 · 1 comment ·
Maintainers usually reply within 1 day