Automated Infrastructure as Code Program Testing
Open accessThe DOI matches its Crossref record; 77 of the 79 references it cites were found in a registry or an index.
Abstract
Infrastructure as Code (IaC) enables efficient deployment and operation, which are crucial to releasing software quickly. As setups can be complex, developers implement IaC programs in general-purpose programming languages like TypeScript and Python, using PL-IaC solutions like Pulumi and AWS CDK. The reliability of such IaC programs is even more relevant than in traditional software because a bug in IaC impacts the whole system. Yet, even though testing is a standard development practice, it is rarely used for IaC programs. For instance, in August 2022, less than 1% of the public Pulumi IaC programs on GitHub implemented tests. Available IaC program testing techniques severely limit the development velocity or require much development effort.To solve these issues, we propose Automated Configuration Testing (ACT), a methodology to test IaC programs in many configurations quickly and with low effort. ACT automatically mocks all resource definitions in the IaC program and uses generator and oracle plugins for test generation and validation. We implement ACT inProTI, a testing tool for Pulumi TypeScript with a type-based generator and oracle, and support for application specifications. Our evaluation with 6 081 programs from GitHub and artificial benchmarks shows thatProTIcan directly be applied to existing IaC programs, quickly finds bugs where current techniques are infeasible, and enables reusing existing generators and oracles thanks to its pluggable architecture.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“In operations, knowing when to stop is part of the safety case [84], [85], [71].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [85]
In the citing paper
“An agent may identify the right cause and still fail operationally if it cannot show evidence, pass checks, prepare rollback, or leave an audit trail [85], [43], [74].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [85]
In the citing paper
“In guarded planner-executor systems, the human does not review a chat transcript.They review a bundle that can be scored, archived, and replayed [85], [70], [102], [74].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [85]
In the citing paper
“Autonomy changes which failures dominate [85], [43], [31].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [85]
In the citing paper
“trust in automation remains contextual and can be weakened by inconsistent or opaque behaviour [85].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [85]
1 more claim about this paper
Create a free account to see every claim other papers make about this one.
Citations
Cites
Alloy: a lightweight object modelling notation
Jackson, D. (2002) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/505145.505149 · Cited by 1,181 · cited 1×
“E.g., Alloy [83] is a language and analysis tool to verify structural properties of software.”
MethodThe Daikon system for dynamic detection of likely invariants
Ernst, M. D., Perkins, J. H., Guo, P. J., McCamant, S., Pacheco, C., Tschantz, M. S., & Xiao, C. (2007) · Science of Computer Programming · doi:10.1016/j.scico.2007.01.015 · Cited by 1,080 · cited 2×
“Daikon[44] is a dynamic invariant detector that identifies application invariants in a set of program traces.”
BackgroundMethodContinuous Delivery: Reliable Software Releases Through Build, Test, and Deployment Automation
Humble, J., & Farley, D. R. (2010) · Cited by 911
Feedback-Directed Random Test Generation
Pacheco, C., Lahiri, S. K., Ernst, M. D., & Ball, T. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.37 · Cited by 863 · cited 1×
“As the generator plugin is exchangeable, ACT is amenable to new state-of-the-art fuzzing and PBT test case selection strategies, e.g., based on testing feedback [31], search-based techniques [32], code coverage [33], and combinatorial coverage [34].”
MethodSoftware fault interactions and implications for software testing
Kuhn, D. R., Wallace, D. R., & Gallo, A. M. (2004) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2004.24 · Cited by 789 · cited 1×
“Kuhn et al. [100] found that most bugs are caused by the interaction of only a few parameters, motivating combinatorial testing [101], which Goldstein et al. [34] applied to PBT generators by modifying the random generator distributions.”
Background(2000) · doi:10.1145/351240.351266 · Cited by 753 · cited 4×
“We determined whether ProTI can find bugs quickly and reliably compared to existing PL-IaC testing techniques (cf. Section II-B).”
BackgroundMethodInfluentialA Survey of DevOps Concepts and Challenges
Leite, L., Rocha, C., Kon, F., Milojicic, D., & Meirelles, P. (2020) · ACM Computing Surveys · doi:10.1145/3359981 · Cited by 484 · cited 1×
“As a result, IaC enables faster, more reproducible software operations [3], [4], [5], [6].”
MethodLi, J., Zhao, B., & Zhang, C. (2018) · Cybersecurity · doi:10.1186/s42400-018-0002-y · Cited by 278
Olsson, H. H., Alahyari, H., & Bosch, J. (2012) · 2012 38th Euromicro Conference on Software Engineering and Advanced Applications · doi:10.1109/seaa.2012.54 · Cited by 243 · cited 2×
“Mocking code easily becomes more complex than the IaC program under test itself, resulting in very few projects using systematic testing—despite testing being crucial for the high-velocity development of reliable software [17], [18].”
BackgroundThe Seven Sins: Security Smells in Infrastructure as Code Scripts
Rahman, A., Parnin, C., & Williams, L. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00033 · Cited by 228 · cited 1×
“Restrictions apply. smells and proposed linters for Puppet, Ansible, and Chef [56], [57].”
Background
Research works printed but not linked: 2
- Morris, 2021, Infrastructure as Code: Dynamic Systems for the Cloud Age
- Kim, 2021, The DevOps hHandbook: How to Create World-class Agility, Rel., & Secur. Technol. Organizations
Cited by
Drosos, G.-P., Sotiropoulos, T., Alexopoulos, G., Mitropoulos, D., & Su, Z. (2024) · Proceedings of the ACM on Programming Languages · doi:10.1145/3689799 · Cited by 39
“…between Puppet resources, and cross-checks these relationships against the dependencies declared by developers in the Puppet DSL. ProTI [Sokolowski and Salvaneschi 2023; Sokolowski et al. 2024] is used to test IaC programs written in Pulumi [Pulumi 2024], which is a provision-based IaC system.”
MethodVulnerabilities in infrastructure as code: what, how many, and who?
War, A., Diallo, A., Habib, A., Klein, J., & Bissyandé, T. F. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10672-8 · Cited by 26
Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety
Bilal, M., Crowcroft, J., Wang, R., Xu, X., & Dustdar, S. (2027) · Computer Science Review · doi:10.1016/j.cosrev.2026.101075 · Cited by 10
“A diagnosis often implies a change, but a change must be expressed as a structured proposal, checked outside the model, and applied with limited permissions [87], [88], [70], [68], [69].”
InfraFix: Technology-Agnostic Repair of Infrastructure as Code
Saavedra, N., Ferreira, J. F., & Mendes, A. (2025) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3713081.3731735 · Cited by 19
An empirical study of policy as code: adoption, purpose, and maintenance
Opdebeeck, R., Alfadel, M., Rahman, A., Kashiwa, Y., Ferreira, J. F., Kula, R. G., & De Roover, C. (2026) · Proceedings of the 23rd International Conference on Mining Software Repositories · doi:10.1145/3793302.3793355 · Cited by 5
“Researchers have studied several aspects of IaC development, including maintainability [9, 12, 30, 44, 47, 69, 71, 80], defect prediction [10, 11, 51, 59], testing [58, 74], and dependencies [41, 46].”
Hybrid Fuzzing of Infrastructure as Code Programs (Short Paper)
Coppa, E., Sokolowski, D., & Salvaneschi, G. (2025) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3713081.3731721 · Cited by 3
Self-citationArtificial Intelligence for Infrastructure-as-Code—A Systematic Literature Review
Pahl, C., Sezen, Ö. C., & Hofer, F. (2026) · Electronics · doi:10.3390/electronics15040755 · Cited by 2
Microbenchmarking Cloud Cryptographic Workloads for Privacy-Preserving Healthcare Iot
Webb, J. L., Kandel, L. N., Gupta, D., & Elluri, L. (2026) · IEEE International Conference on Digital Health (ICDH) · doi:10.1109/icdh72779.2026.00052 · Cited by 1
“Particularly in cloud environments, microbenchmarking with infrastructure-as-code configurations is considered a best practice for reproducibility [20] [21].”
Trinh, T.-B., Le, N.-M., & Ha, N. V. (2026) · Software Quality Journal · doi:10.1007/s11219-026-09778-z · Cited by 1
“While such systems are effective for validation, they primarily provide diagnostic feedback instead of executable tests that can be integrated into CI/CD pipelines (Chowdhary et al., 2025 ; Sokolowski et al., 2024).”
Unleashing the Giants: Enabling Advanced Testing for Infrastructure as Code
Sokolowski, D., Spielmann, D., & Salvaneschi, G. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3639478.3643078 · Cited by 2
Self-citationA Defect Taxonomy for Infrastructure as Code: A Replication Study
Oliveira, W., Paiva, F., Pereira, T. E., & Brunet, J. (2025) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem64174.2025.00073 · Cited by 2
“Despite its relatively recent development in 2024, PIPr has already been utilized by multiple research studies [33] [26] [18].”
Intent-to-AVM: MCP-Orchestrated AVM Terraform Stacks for Regulated Azure Environments
Venkata, S. B. (2026) · International Conference on Computational Intelligence in Data Science (ICCIDS) · doi:10.1109/iccids69108.2026.11407594
“This consistency helps reviewers understand the generated code and supports downstream testing and analysis approaches that operate on IaC artifacts [12], [13].”
Awad, H. (2025) · theses.fr (ABES) · doi:10.70675/62d7fd26z1815z44e7z9579z53eede2d070f · Cited by 1
Metamorphic Testing for Infrastructure-as-Code Engines
Spielmann, D., Zakhour, G., Arnold, D., Biagiola, M., Meier, R., & Salvaneschi, G. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3798226
“The source test case defines three resources ( r0 , r1 , and r2 ), with one dependency ( r1 depends on r2 ).”
Self-citationUnfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as Code
Drosos, G.-P., Alexopoulos, G., Sotiropoulos, T., Mitropoulos, D., & Su, Z. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3797097
“ProTI [61] exercises Pulumi [52] programs (Pulumi is another popular provisioning-based IaC tool) through Automated Configuration Testing .”
Design of Empirically-Grounded Mutation Operators for Terraform IaC
Ribeiro, I. P., & Neves, V. D. O. (2026) · Revista Eletrônica de Iniciação Científica em Computação · doi:10.5753/reic.2026.8471
SAGE: State-based Assessment and Grading Engine for Systems Administration Education
Estreito, Z., Le, V., Harris, F. C., & Dascalu, S. M. (2026) · IEEE/ACIS International Conference on Software Engineering Research, Management and Applications (SERA) · doi:10.1109/sera69989.2026.11618676
“Infrastructure-as-Code (IaC) refers to the practice of managing and provisioning computing infrastructure through machine-readable definition files rather than manual processes [7].”
Quality assurance in infrastructure as code: Issues, approaches, and open challenges
Hayani, H. E., Philippe, J., Challita, S., Barais, O., & Combemale, B. (2026) · Journal of Systems and Software · doi:10.1016/j.jss.2026.113080
Huralnyk, O., САВЕНКО, Б., & Sachenko Svitlana, I. (2026) · International Conference on Advanced Computer Information Technologies (ACIT) · doi:10.1109/acit69831.2026.11700035
“In this context, approaches are being developed for automated testing of IaC programs [9], quantitative assessment of their structural quality and maintainability [10], compliance control during deployments [11], automated correction of configuration defects [12], and detection of hidden errors…”
InfraAPR: An Agent-Based Repair Framework for Cloud Infrastructure-as-Code Programs
Chen, Q., Liu, Z., Li, C., Zhang, Y., Hu, N., & Liao, Q. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834526
“In-fraFix [37] is an important step toward automated IaC repair, and GLITCH [36] demonstrates the value of technology-agnostic intermediate representations for IaC analysis.”
Influential
Metadata
- Authors
- Sokolowski, D., Spielmann, D., & Salvaneschi, G.
- Affiliations
- University of St.Gallen (CH)
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2024-06
- Volume
- 50
- Issue
- 6
- Pages
- 1585-1599
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- 2326-3881
- OpenAlex
- W4396564044
- Cited by
- 20
- References
- 79
- Citations by year
- 2026: 12 · 2025: 5 · 2024: 3
- FWCI
- 20.51
- Type
- journal article
- Language
- en
- Open access
- Licence
- Locations
- IEEE Transactions on Software Engineering (publishedVersion)
- Alexandria (UniSG) (University of St.Gallen) (submittedVersion, other-oa)
- Funders
- Swiss National Science Foundation (200429)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- infrastructure as code, Pulumi, TypeScript, test case generation, cloud infrastructure reliability, bug detection
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.