Expand description
Test utilities for direct command testing
This module provides utilities to test command functions directly instead of spawning the CLI binary, which improves test coverage.
Structs§
- Large
Files Command - Large files command implementation
- Sync
Command - Sync command implementation
- Test
Command Result - Test result that captures both stdout and stderr along with exit code
Traits§
- Test
Command - Generic command trait to allow different command types
Functions§
- execute_
command_ in_ dir - Execute a command with directory context (changes to dir, runs command, restores dir)
- large_
files_ command - Helper to create a large files command for testing
- large_
files_ command_ direct - Execute a large files command directly
- sync_
command - Helper to create a sync command for testing
- sync_
command_ direct - Execute a sync command directly