Infrastructure as Code Programs: How to Test, Finally
summary
ProTI is an automated unit-testing tool for Pulumi TypeScript that mocks all cloud resources and replaces them with pluggable oracles and generators so programs run locally without talking to the cloud. It exercises programs across many configurations (default 100 runs), found an index-out-of-bounds bug and later an empty-string violation, and completes the example run in ~24s. Test cases require no extra test files by default but allow inline narrowing where generators or oracles are too coarse.
AI-written summary · about
chapters (7)
- 0:00Introduction to IaC
- 4:28IaC failure and testing
- 9:33Testing challenges
- 14:32Introducing Proty
- 20:08Proty framework design
- 24:55Proty demo and specification
- 37:55Conclusion and Q&A
related talks
49mInfrastructure as TypeScript
46mInfrastructure testing - it's a real thing!
29mInfrastructure as Software
47mInfrastructure Testing explained
53mInfrastructure as code - is it really?
44mInfrastructure as Software
01h 01mCan TypeScript really make infrastructure management easy?
08mInfrastructure as code in any programming language
