RoboCon2025

Infrastructure as code - Yet another super power for your test automation
2025-02-14 , RoboCon

Imagine having the power to manage dynamic test environments directly from your test automation scripts. In this talk, I'll introduce you to Infrastructure as Code (IaC) and demonstrate what it can do for your test automation. - The new Robot Framework Terraform Library integrates Terraform (and OpenTofu) with Robot Framework.


Infrastructure as Code (IaC) has revolutionized how we manage and provision resources in modern software development. By treating infrastructure configuration the same way we handle application code, IaC allows teams to define, deploy, and manage infrastructure through code, leading to increased efficiency, repeatability, and version control. This concept, essential in cloud-native environments, can also play a pivotal role in test automation.

This talk will dive into how test engineers can leverage IaC to create dynamic, scalable, and repeatable test environments. Imagine being able to configure, deploy, and tear down entire infrastructure setups directly from your test automation scripts. With IaC, this vision becomes a reality, eliminating manual setup processes, reducing human error, and enabling more sophisticated testing scenarios such as distributed systems, cross-environment tests, and cloud-based testing at scale.

We will explore how Infrastructure as Code can:

  • Automatically spin up and manage test environments for different test scenarios.
  • Provision complex cloud infrastructure required for any kind of testing.
  • Integrate seamlessly with your test automation.

At the heart of this automation is the Robotframework-TerraformLibrary, a newly developed library that extends the power of IaC to test automation. Built specifically for Robot Framework, this library allows test engineers to integrate Terraform capabilities directly within their test cases. Whether it's setting up a database, provisioning a load balancer, or creating an entire virtual network, Robotframework-TerraformLibrary lets you manage all of this from within your Robot Framework scripts.

As an added advantage, this library supports OpenTofu, a drop-in replacement for Terraform, giving you flexibility and freedom of choice for your infrastructure management tool. You'll be able to take advantage of both Terraform’s rich ecosystem and OpenTofu’s open-source benefits without changing your workflow.

Join me in this session to see how test engineers can use IaC to drive more effective, scalable, and efficient testing automation workflows.


In-Person or Online talk?:

In-Person

Categorize / Tags:

Infrastructure as Code, IaC, Devops, cloud infrastructure, dynamic infrastructre provisioning, new library, terraform, OpenTofu

Lessons Learned:

By the end of this talk, you will have a practical understanding of how to incorporate Infrastructure as Code into your test automation strategy. You will also get hands-on insight into the capabilities of Robotframework-TerraformLibrary, empowering you to manage test infrastructure as seamlessly as you manage your test cases.

Describe your intended audience:

Test engineers, test architects, test infrastructure architects

Is this suitable for ..?:

Intermediate RF User