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
| Argument | Description |
|---|
PATH | File or directory to scan. Defaults to current directory. |
Options
| Option | Description |
|---|
--fix | Generate and write verified tests. Prompts for confirmation unless --auto is set. |
--auto | Skip confirmation prompts. Use in CI pipelines. |
--source | Comma-separated spec sources to use: docstrings,pydantic,types. Default: auto-detect. |
--output | Test output file path. Default: auto-detect from existing test structure. |
--threshold | Minimum 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
| Code | Meaning |
|---|
| 0 | Success |
| 1 | Error during scan |
| 2 | Score below threshold (with --threshold) |