November 10 – 12, 2020

Online Edition!

Bulletproof Test Environments

Emanuil Slavov

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.


Bulletproof Test Environments

Achieve Extraordinary Results with Test Automation

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.

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.

More Related Sessions

30-minute Talk

4:40 p.m. – 5:20 p.m.

30-min New Voice Talk

2:40 p.m. – 3:20 p.m.

150-min Workshop

2:50 p.m. – 5:20 p.m. Equipment required

If you like AgileTD you might also be interested in :

Your privacy matters

We use cookies to understand how you use our site and to give you the best experience on our website. If you continue to use this site we will assume that you are happy with it and accept our use of cookies, Privacy Policy and Terms of Use.