Auto-sync: 2026-04-20 00:02
This commit is contained in:
32
wiki/concepts/TerraTest.md
Normal file
32
wiki/concepts/TerraTest.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: "TerraTest"
|
||||
type: concept
|
||||
tags:
|
||||
- Testing
|
||||
- IaC
|
||||
- Terraform
|
||||
date Added: 2026-04-19
|
||||
---
|
||||
|
||||
## Summary
|
||||
TerraTest 是使用 Golang 编写的自动化基础设施测试库,自动化 Terraform apply-test-destroy 周期,简化基础设施测试流程。
|
||||
|
||||
## Definition
|
||||
Golang 编写的开源测试库,专门用于测试 Terraform 部署的基础设施。
|
||||
|
||||
## Key Features
|
||||
- 自动 apply:自动应用 Terraform 配置
|
||||
- 自动 test:自动执行测试验证输出
|
||||
- 自动 destroy:测试完成后自动清理资源
|
||||
|
||||
## Use Cases
|
||||
- 集成测试验证已部署基础设施的实际功能
|
||||
- 测试复杂 Terraform 模块
|
||||
- 测试驱动的基础设施开发(TDD)
|
||||
|
||||
## Sources
|
||||
- [[ctp-topic-56-automated-infrastructure-testing]]
|
||||
|
||||
## Aliases
|
||||
- TerraTest
|
||||
- Terratest
|
||||
Reference in New Issue
Block a user