---
title: "Testing with Pulumi"
description: "Testing infrastructure and applications. Examples and blog posts for Testing with Pulumi."
url: "https://www.pulumi.com/dev/tag/testing/"
image: "https://www.pulumi.com/assets/og/dev/tag/testing.png"
---

# Testing with Pulumi

Testing infrastructure and applications. Examples and blog posts for Testing with Pulumi.

## Examples

- [Integration testing of Pulumi programs in Go](https://www.pulumi.com/dev/examples/testing-integration.md)
- [Integration testing of Pulumi programs in Python](https://www.pulumi.com/dev/examples/testing-integration-py.md): A Integration Testing of s3 use case — Python
- [Writing policies for testing Pulumi programs](https://www.pulumi.com/dev/examples/testing-pac-ts.md): An example that applies PaC-based integration testing to provisioning an AWS EKS cluster. — TypeScript
- [Unit testing Pulumi programs in C#](https://www.pulumi.com/dev/examples/testing-unit-cs.md): An example that applies unit testing to C# and Azure resources. — .NET
- [Unit testing Pulumi programs in C#](https://www.pulumi.com/dev/examples/testing-unit-cs-mocks.md): An example that applies unit testing to C# and Azure resources. — .NET
- [C# unit testing with top-level statements](https://www.pulumi.com/dev/examples/testing-unit-cs-top-level-program.md): .NET
- [Unit testing Pulumi programs in F#](https://www.pulumi.com/dev/examples/testing-unit-fs-mocks.md): An example that applies unit testing to F# and Azure resources. — .NET
- [Unit testing Pulumi programs in Go](https://www.pulumi.com/dev/examples/testing-unit-go.md): An example that applies unit testing to Go and AWS resources. — Go
- [Unit testing Pulumi programs with components in Go](https://www.pulumi.com/dev/examples/testing-unit-go-components.md): An example that applies unit testing to Go and component resources. — Go
- [Unit testing Pulumi programs in Python](https://www.pulumi.com/dev/examples/testing-unit-py.md): An example that applies unit testing to Python and AWS resources. — Python
- [Unit testing AWS infrastructure with Jest](https://www.pulumi.com/dev/examples/testing-unit-ts-mocks-jest.md): An example of using Jest with Pulumi to write test-driven code that mocks AWS infrastructure. — TypeScript · One-click deploy

## Blog Posts

- [Self-Verifying AI Agents: Vercel's Agent-Browser in the Ralph Wiggum Loop](https://www.pulumi.com/blog/self-verifying-ai-agents-vercels-agent-browser-in-the-ralph-wiggum-loop/): Vercel's agent-browser uses 82% less context than Playwright MCP. I tested both on the same six browser tests to see how they compare.
- [How to Test Infrastructure with Pulumi](https://www.pulumi.com/blog/testing-in-practice/): Learn how to test infrastructure as code with Pulumi. This guide covers unit, property, and integration testing with mocks, Automation API, and real examples.
- [Test-Driven Infrastructure Development with Pulumi and Jest](https://www.pulumi.com/blog/testing-pulumi-programs-with-jest/): Add unit testing with Jest to your Pulumi toolbox to write better, safer infrastructure code. — AWS · TypeScript
- [Unit Testing Assets](https://www.pulumi.com/blog/unit-testing-assets/): Learn how unit testing your infrastructure assets can help ensure correctness of your deployments.
- [Unit Testing Cloud Deployments with .NET](https://www.pulumi.com/blog/unit-testing-cloud-deployments-with-dotnet/): Developing infrastructure programs in C# and F# with unit tests, TDD, and mocks — .NET
- [Unit Testing Your Infrastructure with Node.js and Mocha](https://www.pulumi.com/blog/unit-testing-infrastructure-in-nodejs-and-mocha/): This post shows how to use Node.js, the Mocha test framework, and the Chai assertion library to embed tests alongside your infrastructure-as-code definitions.
