xacli-testing
Testing utilities for XaCLI framework.
Features
- Keyboard Event Simulation: Build keyboard events programmatically for testing interactive components
- VHS Tape Parser: Parse VHS
.tapefiles and convert them to event sequences - Output Capture: Capture and assert terminal output with ANSI escape sequence handling
- Test Builders: Helper functions for building test contexts and parsing arguments
Usage
use *;
VHS Tape Support
Supported instructions:
Type "text"- Type charactersEnter- Press Enter keyBackspace/Backspace N- Press Backspace N timesUp/Down/Left/Right- Arrow keysSpace- Space keyEscape- Escape key
Ignored instructions: Output, Set, Hide, Show, Sleep, Screenshot