effect-cli-testing

Community

Test @effect/cli interactions end-to-end.

Authorlucas-barake
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Streamlines and validates interactive CLI testing for @effect/cli by providing reusable patterns and utilities that simulate user input and verify terminal output, reducing flaky tests and manual effort.

Core Features & Use Cases

  • MockTerminal and MockConsole utilities to simulate user interactions and capture console output in tests.
  • Coverage for interactive prompts including Prompt.select, Prompt.confirm, Prompt.text, and multi-step wizard flows.
  • Clear guidance and patterns for fork-join prompt testing, input simulation, and assertion of results across CLI tests.

Quick Start

Run the test suite with bun run test to verify interactive CLI testing patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: effect-cli-testing
Download link: https://github.com/lucas-barake/dotai/archive/main.zip#effect-cli-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.