DocsCliFind

quell find

The primary Quell command. Scans your code for untested edge cases across all available spec sources.

Usage

quell find [PATH]                   # Find and report gaps (no writes)
quell find [PATH] --fix             # Find + write tests for verified cases
quell find [PATH] --fix --auto      # Skip confirmation prompts (CI mode)

Arguments

ArgumentDescription
PATHFile or directory to scan. Defaults to current directory.

Options

OptionDescription
--fixGenerate and write verified tests. Prompts for confirmation unless --auto is set.
--autoSkip confirmation prompts. Use in CI pipelines.
--sourceComma-separated spec sources to use: docstrings,pydantic,types. Default: auto-detect.
--outputTest output file path. Default: auto-detect from existing test structure.
--thresholdMinimum PRS score required in --auto mode. Exit non-zero if below.

What it scans

Quell auto-detects every spec source available:

  • Function docstrings (raises, returns, constraints)
  • Pydantic model validators and Field() constraints
  • Type annotations (Optional, Literal, Union)
  • Guard clauses and assertion patterns

Example output

Scanning src/payments.py...

Found 4 edge cases:

✓  WRITTEN   test_payment_rejects_zero_amount        [5/5 gates]
✓  WRITTEN   test_payment_rejects_negative_amount    [5/5 gates]
~  SCAFFOLDED test_refund_idempotency                [1-3 gates — external state]
✗  FLAGGED   test_stripe_gateway_timeout             [side effect: stripe.Charge.create()]

Tests written to: tests/test_payments.py
PRS: 75 → 84 (+9)

Exit codes

CodeMeaning
0Success
1Error during scan
2Score below threshold (with --threshold)