OpenParable
Skip to content
← Back to skills

tui-use-integration-test

Testing & Quality

Use when you need to verify tui-use end-to-end behavior — driving interactive CLI programs, Python REPL, --text pattern matching, custom timeout, special key handling, and highlights detection.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/onesuper/tui-use/blob/HEAD/.claude/skills/tui-use-integration-test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tui-use-integration-test, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

tui-use Integration Tests

Run integration tests to verify tui-use functionality.

Usage

/tui-use-integration-test              # Run all test suites
/tui-use-integration-test <suite>      # Run specific test suite

Available Test Suites

SuiteDescription
sessionSession lifecycle: start, use, info, rename, list, kill
interactionUser interaction: wait, type, press, paste, REPL
findText search functionality with regex
scrollTerminal buffer scrolling
highlightsInverse-video highlights detection

Test specifications are in tests/ directory

Reporting

After running tests, report results as:

<suite>:
  <scenario 1>      — PARTIAL
    - Initial screen capture: PASS
    - scroll command executes: PASS
    - Less pager scrolling with 'space': FAIL

  <scenario 2>     — PASS
    - Find A words: PASS
    - Find B words: FAIL (<Fail reason or notes>)

If any test fails, include the actual screen and highlights values and what was expected.