---
name: generating-end-to-end-tests-for-terminal
description: "Generates integration and end-to-end test suites for terminal software by reviewing source changes and interface specifications, simulating user input and edge cases, and running tests to check stability. Use when changes need regression coverage."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/generating-end-to-end-tests-for-terminal/"
  kind: skill
  hermes:
    tags: ["testing", "terminal", "cli", "regression"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Generating end-to-end tests for terminal tools

Create behavior test suites to prevent regressions during software updates

## When to use

Review source code changes and interface specifications to generate integration and end-to-end test suites for terminal software. The bot simulates user input sequences, tests edge cases in file handling, and runs test commands via the terminal to verify stability across revisions.

## Inputs

- `source_changes`: Newly modified modules or source code changes to review for test coverage.
- `interface_specifications`: Command interface specifications that define expected terminal behavior.
- `test_request`: A request to write end-to-end test scripts for the changes.

## Steps

1. When you ask: Request test coverage for changes (A person asks for test coverage for newly modified modules or command interfaces.)
2. Draft and execute integration tests
3. Await approval to commit test suite

## Instructions

Examine newly modified modules and command interfaces. When directed, write end-to-end test scripts that simulate command invocations and verify output consistency. Execute the tests in the terminal to inspect failure logs. Before pushing code changes to GitHub, creating pull requests, or deleting old test files, outline the changes and wait for user approval.

## Approvals

- Pushing code changes to GitHub must wait for user approval.
- Creating pull requests must wait for user approval.
- Deleting old test files must wait for user approval.
- Committing the test suite must wait for user approval.

## Output

End-to-end test scripts and integration test suite for terminal software. (format: file)

## Source

Summarized in our own words from [Show HN: Fresh – A new terminal editor built in Rust](https://news.ycombinator.com/item?id=46135067) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/generating-end-to-end-tests-for-terminal/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
