Atlas › 08 Infrastructure as Code Testing › Pulumi Testing☰ Read as one page
Pulumi Testing
2.1Why Pulumi Changes the Testing GamePulumi's fundamental advantage is that infrastructure is defined in real programming languages -- TypeScript, Python, Go, or C#. This means…2.2Unit Testing with Pulumi MocksPulumi's mock framework lets you test infrastructure logic without deploying anything. The mocks intercept all cloud API calls and return…2.3Policy Tests with Pulumi CrossGuardPulumi CrossGuard is Pulumi's policy-as-code framework. Unlike external tools like Checkov or tfsec that analyze HCL, CrossGuard policies…2.4Integration Testing with Pulumi Automation APIThe Pulumi Automation API allows you to drive Pulumi from within test code, similar to how Terratest drives Terraform:2.5Pulumi vs Terraform Testing Comparison- If your team already uses Terraform and Go, Terratest is mature and well-documented. - If your team uses TypeScript or Python, Pulumi's…