{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"Wraps the Terraform executable to facilitate testing Terraform modules from Python unit tests, exposing methods to set up fixtures, execute Terraform commands, and parse their output.","skillfed_tags":["terraform","infrastructure-as-code","testing"],"use_cases":["Validate Terraform module syntax and resource definitions in CI/CD pipelines before deployment.","Test that Terraform configurations produce the expected number and type of resources via plan output inspection.","Verify Terraform outputs and state file contents after applying configurations to actual infrastructure.","Cache expensive Terraform operations during test development to reduce iteration time.","Programmatically inspect plan resources and module structure from Python test code."],"what_it_does":"tftest is a Python wrapper around the Terraform command-line tool designed to simplify testing Terraform modules. It provides a programmatic interface to run Terraform operations (init, plan, apply, destroy) and parse their outputs, making it easier to write unit tests that validate Terraform configurations without manual command execution.\n\nThe package supports two testing approaches: lightweight tests using only init and plan to verify syntax and resource counts, or full integration tests that run the complete apply/output/destroy cycle and validate actual infrastructure state. It includes a caching mechanism to speed up repeated test runs by storing and reusing command outputs based on file content hashes, and provides convenience classes to access plan variables, outputs, resources, and modules in a structured way.","worth_installing":"Yes. tftest is actively maintained, has no external runtime dependencies, carries a permissive license, and solves a clear problem for teams testing Terraform infrastructure-as-code. The caching feature and structured output parsing add practical value. Install it if you write Python tests for Terraform modules."},"id":"tftest","links":{"html":"https://skillfed.io/packages/tftest","md":"https://skillfed.io/packages/tftest.md","pypi":"https://pypi.org/project/tftest/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-29","license_spdx":null,"license_treatment":"permissive","name":"tftest","python_support":"unspecified","summary":"Simple Terraform test helper"},"popularity":{"monthly_downloads":116499,"position":12200,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.8"}
