Add a regression test

A test covering the behavior that previously failed.

Jump to the prompt
THE RESULT

A test covering the behavior that previously failed.

READY-TO-USE PROMPT
Using [BUG_DESCRIPTION] in [REPO], add a regression test in the existing framework. Cover the boundary input and a valid case. Verify observable behavior rather than reproducing the implementation. Run the test and report the outcome.

Paste into a conversation with LocalCommander. Replace bracketed fields with your own paths, files or URLs.

THE WORKFLOW

From your material to a result.

  1. 01

    Prepare the inputs: Repository and reproduction steps.

  2. 02

    Replace square-bracket placeholders with the actual names, paths or URL. Paste the prompt into a chat with LocalCommander connected.

  3. 03

    Verify the result: A test covering the behavior that previously failed. Ask for the saved file location or the evidence behind the findings.