DocsCliReproduce

quell reproduce

Turn a natural-language bug description into a failing pytest test.

Usage

quell reproduce "<bug description>"
quell reproduce "<bug description>" --file src/payments.py

Requirements

This command requires a configured LLM provider (Groq or OpenAI-compatible). Set up with:

quell auth set GROQ_API_KEY=gsk_...

Arguments

ArgumentDescription
"<bug description>"A natural-language description of the bug to reproduce.

Options

OptionDescription
--filePath to the source file containing the relevant code. Auto-detected if omitted.
--outputTest output file. Default: auto-detect from existing test structure.
--dry-runGenerate the test but don't write it.

Example

quell reproduce "payment accepts zero amount and creates zero-value order"

Output:

def test_payment_accepts_zero_amount_bug():
    """Reproduces: payment accepts zero amount and creates zero-value order"""
    with pytest.raises(ValueError):
        process_payment(amount=0, currency="USD")

How it works

  1. Quell sends your bug description + relevant source code to the LLM
  2. The LLM generates a test that should fail on the current (buggy) code
  3. Quell runs the test — if it passes, you've confirmed the bug is fixed
  4. The test is verified through the 5-gate pipeline before writing

Only source code is sent to the LLM. No config files, secrets, or unrelated code.