[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10009":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":37,"discoverSource":38},10009,"terratest","gruntwork-io\u002Fterratest","gruntwork-io"," Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.","https:\u002F\u002Fterratest.gruntwork.io\u002F",null,"Go",7925,1372,108,29,0,8,14,2,70.81,"Apache License 2.0",false,"main",true,[26,27,28,29,30,31,32,33],"aws","devops","docker","golang","packer","terraform","testing","testing-library","2026-06-12 04:00:48","# Terratest\n\n[![Maintained by Gruntwork.io](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fmaintained%20by-gruntwork.io-%235849a6.svg)](https:\u002F\u002Fgruntwork.io\u002F?ref=repo_terratest)\n[![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fgruntwork-io\u002Fterratest)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fgruntwork-io\u002Fterratest)\n[![go.dev reference](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fgo.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https:\u002F\u002Fpkg.go.dev\u002Fmod\u002Fgithub.com\u002Fgruntwork-io\u002Fterratest?tab=overview)\n![go.mod version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fgo-mod\u002Fgo-version\u002Fgruntwork-io\u002Fterratest)\n\nTerratest is a Go library that makes it easier to write automated tests for your infrastructure code. It provides a\nvariety of helper functions and patterns for common infrastructure testing tasks, including:\n\n- Testing Terraform code\n- Testing Packer templates\n- Testing Docker images\n- Executing commands on servers over SSH\n- Working with AWS APIs\n- Working with Azure APIs\n- Working with GCP APIs\n- Working with Kubernetes APIs\n- Testing Helm Charts\n- Making HTTP requests\n- Running shell commands\n- And much more\n\n## Install\n\n```bash\ngo get github.com\u002Fgruntwork-io\u002Fterratest@latest\n```\n\nRequires Go 1.26 or later.\n\n## Stability and versioning\n\nStarting with v1.0.0, Terratest follows [semantic versioning](https:\u002F\u002Fsemver.org\u002F). Breaking changes to the public API\nonly happen in major releases (e.g. v2.0.0).\n\nSymbols renamed or replaced in v1 are kept with `\u002F\u002F Deprecated:` annotations pointing at the new name; removals happen\nin v2. Migrating from v0.x: see the [v1 migration guide](https:\u002F\u002Fterratest.gruntwork.io\u002Fdocs\u002Fmigrating-to-v1\u002Foverview\u002F).\n\n## More info\n\n- [Terratest Website](https:\u002F\u002Fterratest.gruntwork.io)\n- [Getting started with Terratest](https:\u002F\u002Fterratest.gruntwork.io\u002Fdocs\u002Fgetting-started\u002Fquick-start\u002F)\n- [Terratest Documentation](https:\u002F\u002Fterratest.gruntwork.io\u002Fdocs\u002F)\n- [Contributing to Terratest](https:\u002F\u002Fterratest.gruntwork.io\u002Fdocs\u002Fcommunity\u002Fcontributing\u002F)\n- [Commercial Support](https:\u002F\u002Fgruntwork.io\u002Fsupport\u002F)\n\n## License\n\nThis code is released under the Apache 2.0 License. Please see [LICENSE](LICENSE) and [NOTICE](NOTICE) for more details.\n\nCopyright &copy; 2025 Gruntwork, Inc.\n","Terratest 是一个 Go 语言库，旨在简化基础设施代码的自动化测试编写过程。它提供了一系列辅助函数和模式来支持常见的基础设施测试任务，如 Terraform 代码、Packer 模板、Docker 镜像的测试，以及通过 SSH 在服务器上执行命令、与 AWS、Azure、GCP 和 Kubernetes API 交互等。此外，Terratest 还能用于测试 Helm 图表、发起 HTTP 请求及运行 shell 命令等功能。该项目适用于需要对其云基础设施配置进行自动化测试的 DevOps 团队或个人开发者，确保在部署前验证资源定义的正确性和一致性。","2026-06-11 03:26:06","top_topic"]