Canonical: https://botbento.com/usecases/regression-test-generation/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Draft regression tests for existing code

Proposed tests for untested code; only passing ones stay.

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=regression-test-generation)Copy promptShare[Markdown](/text/usecases/regression-test-generation/index.md)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askYou name a module
- ThenWrites and runs tests
- ResultDraft change for review

Ask a bot to propose tests for untested functions, run them, and keep only the ones that pass and add coverage. A developer reviews them like any other change.

## Prompt to start with

BotBentoRecommended

```
For the module I name, propose unit tests for functions without coverage. Run them and keep only passing tests that cover new lines. Open a draft change for review.
```

CopyMuse CodeSetup sketch

```
Run muse in the project directory, then ask: For the module I name, propose unit tests for functions without coverage. Run them and keep only passing tests that cover new lines.
```

Copy

Muse Code is Meta's terminal and CI coding agent; its docs describe planning, editing and running commands with approvals. [Docs ](https://dev.meta.ai/docs/muse-code)

## Tools it uses

GitHubTerminal

## Works with

BotBentoMuse Code

## Tags

- testing
- unit tests
- coverage

## Source

[Cover Agent: open source regression test generation tool](https://news.ycombinator.com/item?id=40438664)
Hacker News · checked 2026-10-14

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-14 · Updated 2026-10-14 · [Suggest a correction](/contact/)

## Related use cases

-

Codingadvanced

## [Autonomous Linear Issue Resolver and Code Reviewer](/usecases/autonomous-linear-issue-resolver-and-code-reviewer/)

Pulls assigned issue tickets, implements code changes via CLI, runs tests, and drafts pull requests

LinearGitHubTerminalChat
-

Codingintermediate

## [Developer Tool Evaluation and Review Bot](/usecases/developer-tool-evaluation-and-review-bot/)

Assess package reliability and draft structured feedback reports on developer tooling

TerminalGitHubNotes
-

Codingadvanced

## [Self-Hosted Sandbox Code Task Runner](/usecases/self-hosted-sandbox-code-task-runner/)

Execute coding tasks in isolated private environments and review code changes

TerminalGitHubChat
