bats-testing-patterns

Pass

Audited by Gen Agent Trust Hub on Mar 7, 2026

Risk Level: SAFE
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill provides installation instructions for 'bats-core' via Homebrew, NPM, and the official GitHub repository (github.com/bats-core/bats-core). These are well-known and trusted sources for development tools.
  • [COMMAND_EXECUTION]: The skill contains examples of shell commands for testing purposes, including the use of temporary directories, file system operations, and command mocking. All examples follow standard development and testing best practices (e.g., using mktemp and cleaning up in teardown).
  • [DYNAMIC_EXECUTION]: The 'Command Stubbing' section demonstrates creating a temporary executable script to mock external dependencies. This is a standard testing technique and, in the context provided, uses controlled local templates without untrusted external input.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 7, 2026, 05:10 PM