Repository logo
Research Outputs
Projects
People
Statistics
  1. Home
  2. HSG CRIS
  3. HSG Publications
  4. Creed for Speed: Comprehensive Infrastructure as Code Testing
Details

Creed for Speed: Comprehensive Infrastructure as Code Testing

Type
conference speech
Date Issued
2023-10-24
Author(s)
Daniel Sokolowski  
;
David Spielmann  
;
Guido Salvaneschi  
Abstract
With Programming Languages Infrastructure as Code (PL-IaC), developers implement imperative IaC programs in one of many general-purpose programming languages, e.g., TypeScript, Python, or Go, to declaratively describe deployments. Using these languages provides access to quality assurance techniques and tools developed for traditional software; however, programmers routinely rely on prohibitively slow integration testing-if they test at all. As a result, even simple bugs are found late, tremendously slowing down the development process. To improve the velocity of PL-IaC development, we propose ProTI, an automated unit testing approach that quickly tests PL-IaC programs in many different configurations. ProTI mocks all cloud resources, replacing them with pluggable oracles that validate all resources' configurations and a generator for realistic test inputs. We implemented ProTI for Pulumi TypeScript with simple generator and oracle plugins. Our experience of testing with ProTI encourages the exploration of more sophisticated oracles and generators, leading to the early detection of more bugs. ProTI enables programmers to rapidly prototype, explore, and plug in new oracles and generators for efficient PL-IaC program testing.
Language
English
URL
https://www.alexandria.unisg.ch/handle/20.500.14171/118590
File(s)
Thumbnail Image

open.access

Name

2023_Creed-for-Speed-Comprehensive-Infrastructure-as-Code-Testing.pdf

Size

424.54 KB

Format

Adobe PDF

Checksum (MD5)

32fcf672f595cf2301ee0bd7758c231c

Support
HSG researchers can find instructions here for adding or importing publications (DOI, ORCID). Please send questions to alexandria@unisg.ch

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Accessibility settings
  • Privacy policy
  • End User Agreement
  • Send Feedback
Repository logo COAR Notify