Skip to main content

run_test_command

Function run_test_command 

Source
pub fn run_test_command(
    repo_root: &Path,
    test_command: &str,
) -> Result<TestResult, PawError>
Expand description

Runs the configured test command via sh -c and captures stdout.

Returns a TestResult whose success reflects the shell exit status and whose output is the captured stdout (stderr is intentionally not captured here — the supervisor summary surfaces stdout to the operator).