test-shell
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a documentation and template resource for shell script testing using the BATS framework. All provided code snippets follow standard software testing patterns.
- [COMMAND_EXECUTION]: Provides examples of using the
batsCLI and executing scripts viabash -cwithin test files to isolate function execution, which is the intended and standard use case for the BATS framework. - [DYNAMIC_EXECUTION]: Includes a pattern for command mocking that involves creating a temporary executable script and temporarily modifying the
PATHenvironment variable. This is a legitimate and common practice in shell testing to simulate external command behavior in an isolated environment.
Audit Metadata