terraform-test-coverage

Official

Find Terraform test coverage gaps fast

Authorinfraspecdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps Terraform authors determine whether native test suites adequately cover a component before changes ship, reducing blind spots in critical infrastructure behavior.

Core Features & Use Cases

  • Evaluates coverage across happy paths, variable validations, feature toggles, edge cases, CIDR math, and naming conventions.
  • Checks for strong plan-only assertions, mock_provider usage, and required expect_failures coverage for validation rules.
  • Use it when adding new variables, resources, or flags, or when reviewing .tftest.hcl files before a release.

Quick Start

Review the component's .tftest.hcl files and produce a Terraform test coverage assessment with missing gaps and recommended additional tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: terraform-test-coverage
Download link: https://github.com/infraspecdev/tesseract/archive/main.zip#terraform-test-coverage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.