provider-test-patterns

Pass

Audited by Gen Agent Trust Hub on Mar 18, 2026

Risk Level: SAFE
Full Analysis
  • Infrastructure Management via API: The skill includes patterns for interacting with external APIs to verify state and perform cleanup (sweepers). These operations are essential for acceptance testing and are implemented using established testing frameworks.
  • Credential Management: The provided patterns demonstrate verifying the presence of environment variables (e.g., EXAMPLE_API_KEY) before running tests. This is a standard practice to ensure that authentication tokens are not hardcoded in the source code.
  • External Dependencies: The skill utilizes the terraform-plugin-testing suite and related packages. These dependencies are standard tools for provider development and originate from recognized sources.
  • Configuration Generation: Patterns for generating HCL strings use formatted strings with appropriate quoting. This helps ensure that variable values are correctly handled within the generated configuration.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 18, 2026, 03:41 PM