aztfmod/terraform-provider-azurecaf/e2e-test-runner

Claude Code and agent skill by aztfmod/terraform-provider-azurecaf

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Run end-to-end tests (make test_e2e or make test_e2e_quick), parse results, and produce a structured summary. Use after build succeeds to validate real Terraform workflows. Triggers on: post-build validation, PR checks, release verification.

Install

npx vskill@latest install aztfmod/terraform-provider-azurecaf/e2e-test-runner

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as aztfmod/terraform-provider-azurecaf/e2e-test-runner.

E2E Test Runner

Procedure

1. Choose test scope
ScopeCommandDurationWhen to use
Quickmake test_e2e_quick~10-15sEvery change, fast feedback
Fullmake test_e2e~25-30sPR validation, pre-release
Data sourcemake test_e2e_data_source~10sData source changes
Namingmake test_e2e_naming~15sNaming convention changes
Importmake test_e2e_import~10sImport functionality changes

Default to quick unless the caller specifies otherwise.

2. Run tests
bash
make test_e2e_quick 2>&1 | tee /tmp/e2e-output.txt
3. Parse results

Check exit code and extract test results:

bash
grep -E "^(ok|FAIL|---)" /tmp/e2e-output.txt
4. Report

If all tests pass:

✅ E2E tests: PASSED (<scope>)
Tests: <count> passed
Duration: <time>

If failures detected:

❌ E2E tests: FAILED (<scope>)
Failed tests:
- <test_name>: <failure summary>
Details:
<relevant output>
5. Lifecycle consistency check

After E2E tests pass, verify plan→apply→plan consistency:

bash
mkdir -p /tmp/e2e-lifecycle && cat > /tmp/e2e-lifecycle/main.tf << 'LCEOF'
terraform {
required_providers {
azurecaf = {
source = "aztfmod/azurecaf"
}
}
}
resource "azurecaf_name" "lifecycle_test" {
name = "lctest"
resource_type = "azurerm_resource_group"
prefixes = ["dev"]
suffixes = ["001"]
random_length = 4
random_seed = 12345
clean_input = true
}
output "result" { value = azurecaf_name.lifecycle_test.result }
LCEOF
cd /tmp/e2e-lifecycle
terraform plan -out=tfplan
terraform apply tfplan
terraform plan # Must show "No changes"
rm -rf /tmp/e2e-lifecycle

The final terraform plan must report "No changes". A drift here indicates plan-apply inconsistency.

Also verify that result shows an actual name during the first plan (not (known after apply)).

6. Cleanup
bash
rm -f /tmp/e2e-output.txt

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
185
Repository forks
99
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aztfmod/terraform-provider-azurecaf/e2e-test-runner/badge)](https://verified-skill.com/skills/aztfmod/terraform-provider-azurecaf/e2e-test-runner)

Something wrong with this skill or its page? Tell us.