`nh test --help` prints stale test counts (721) — the suite has ~9,400 tests
Débutant
documentationgood first issue
10 ★
Poids du clone léger
Mise à jour
Description
\`\`\`
$ nh test --help
Modes:
fast — 711 tests, ~28s (skip slow integration tests) full — 721 tests,
~3min (all tests, parallel) slow — 10 tests, ~3min (eval replay +
integration only)
\`\`\`
Source: the \`test\` command docstring in \`src/no_human/cli/commands.py\`. On the same tree:
\`\`\`
$ python -m pytest --collect-only -q | tail -1 # 9413 tests collected
$ python -m pytest --collect-only -q -m "not slow" # 9176/9413
$ python -m pytest --collect-only -q -m "slow" # 237/9413
\`\`\`
**Fix:** replace the hard-coded counts and timings with what each mode *selects* (\`fast\` = \`not slow and not nightly\`, \`slow\` = \`slow\`, \`full\` = everything) so the help never goes stale again. ~6 lines.
Issues similaires
Tout voir
Python
Débutant
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an im…
Mise à jour
Python
Débutant
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:54…
Mise à jour
Python
Débutant
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the r…
Mise à jour