Bulletproof Test Environments

30-minute Talk

In order to have a reliable test automation results you need to take full control of your test environment. Describe it in code, start on the fly, dedicated only to your automated tests.

Virtual Pass session

Timetable

10:15 a.m. – 10:55 a.m. Thursday 12th

Audience

Testers, Developers, Managers

Key-Learnings

  • The only way to have predictable test automation results is to own your test environment.
  • With containers, constructing your environment as code, on the fly, is easy.
  • A full test environment running on a laptop makes is simple to trace defects in micro-services applications.
  • Learn what tools to use to simulate services that are not under your control.
  • Learn 3 ways to probe your test environment for advanced defect detection.

Achieve Extraordinary Results with Test Automation

We all want fast, stable and reliable automated tests. Usually, we can’t reach those goals because of something outside of our control — our test environments. Or so we think. Test environments are manually cobbled together, a long, long time ago by someone not even working at the company anymore. They are someone else’s problem. They are a house of cards, requiring slow, manual intervention. As it is so hard to create new environment from scratch, they are shared by teams to run both automated and exploratory tests. In order to get stable automated tests results in such environments we have to rely on crutches: add complex retry logic, increase timeouts, quarantine flaky tests.

With the ubiquity of containerization there is a better way. We take control of our test environment. We use code to describe it. We create it on the fly when we need it. It is in the same pristine, clean state each time it starts. It is dedicated only to our automated tests. It has a lifespan as long as our tests are running, and then it is destroyed. It is isolated from the outside world, making it very fast and reliable. In fact, in such an environment at Falcon, we achieved 120x times faster automated tests while keeping the flakiness as low as 0,13%. These environments can also run on your laptop for easy debugging of a micro-services application.

In this talk you’ll learn why it is important to start owning your test environment if you want to achieve unparalleled tests reliability. How to start simple with containers and then gradually make the setup more complex by adding different services. What tools are most useful in simulating services that your team does not own (Authentication, Permissions) as well as any external API dependencies (Cloud Storage, Social Networks). You will learn how to multiply the value of your automated tests by probing deeper in the test environment to find problems that usually only surface in production. This talk is for everyone that works in a fast paced, modern development environment.

Related Sessions

Virtual Pass session
Wed, Nov 11 • 3:45 p.m. – 4:25 p.m.

30-minute Talk

Thu, Nov 12 • 1:45 p.m. – 2:25 p.m.

30-minute Talk

Virtual Pass session
Wed, Nov 11 • 4:40 p.m. – 5:20 p.m.

30-minute Talk

Virtual Pass session
Tue, Nov 10 • 4:40 p.m. – 5:20 p.m.

30-min New Voice Talk