go-vcr
packer_ansible_inspec_terraform_aws
Our great sponsors
go-vcr | packer_ansible_inspec_terraform_aws | |
---|---|---|
6 | 2 | |
1,093 | 118 | |
- | - | |
5.0 | 3.0 | |
about 1 month ago | 8 months ago | |
Go | HCL | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-vcr
-
Testing calls to external APIs
Mocking the http client using recorded responses; for example using dnaeon/go-vcr
-
How I write offline API tests in Go
For example I see go-vcr (note: not mine), but haven't taken time yet to evaluate it.
-
go-vcr v3 has been released
I've finally found some spare time and managed to work on go-vcr, fixed some long standing issues, refactored things here and there and was able to get a new version of the package.
-
What are you using for testing your IAC?
Terraform providers are tested this way (separate cloud account w/ create/destroy) paired with VCR to record and replay the HTTP requests.
-
Go Package for testing HTTP interactions: github.com/dnaeon/go-vcr
Let me introduce to you github.com/dnaeon/go-vcr.
-
best way to mock/unit test http.Client?
dnaeon/go-vcr
packer_ansible_inspec_terraform_aws
-
Which is the mostly used configuration management tool?
I created a small project a while back that shows how you can do it if it helps https://github.com/gordonmurray/packer_ansible_inspec_terraform_aws
- What are you using for testing your IAC?
What are some alternatives?
testfixtures - Ruby on Rails like test fixtures for Go. Write tests against a real database
openvpn-aws-tf-ansible - OpenVPN with Terraform and Ansible on AWS
Gauge - Light weight cross-platform test automation
terraform-docs - Generate documentation from Terraform modules in various output formats
ginkgo - A Modern Testing Framework for Go
packer-windows-avd - Custom Windows 11 "golden" image for Azure Virtual Desktop (AVD) built with Packer.
gofight - Testing API Handler written in Golang.
immutable-cluster - AWS nginx instances in ha setup created with packer and terraform
gomega - Ginkgo's Preferred Matcher Library
cloudblock - Cloudblock deploys secure ad-blocking and VPN for all devices. Text and video guides included! 6 supported cloud providers, plus Ubuntu and Raspberry Pi. Cloudblock deploys Wireguard VPN, Pi-Hole DNS Ad-blocking, and DNS over HTTPS in a cloud provider - or locally - using Terraform and Ansible.
httpmock - HTTP mocking for Golang
WolfPack - WolfPack combines the capabilities of Terraform and Packer to streamline the deployment of red team redirectors on a large scale.