Refactoring your E2E tests from an ice-cone to a pyramid

25-minute Talk

Showing with an example how to refactor your code and how to distrubute your tests on the different test levels.

Virtual Pass session


11:45 a.m. – 12:30 p.m. Wednesday 15th


Room F1 - Track 1: Talks


Developers and Testers


  • Distributing your tests right has many benefits, not only time saving
  • How to keep your code more maintainable in the future

In our daily experience in working with customers, we notice that the test pyramide is still not well understood and applied correctly. If you ask teams about the test pyramid you will either get different opinions and definitions or a lot of excuses for not applying it in their software development lifecycle. There 1.000 reasons for resistance against unit testing from developers especially the believe that UI, E2E and system tests are more effective and efficient then unit tests.

On the other side testers and QA engineers are not trusting the developers to test the right thing and they fear that the functionality is not tested suffiently. A constant communication and close collaboration between the testers and developers is crucial for distributing the test cases on the individual testing levels. In our talk we want to demonstrate the architecture, the code and the E2E tests of a typical application leading to an test automation ice cone.

We are going to explain the disadvantages of this testing strategy by measuring the tests' runtime, the duplication of the coverage and complexity of the test scripts. During our demonstration we are going to refactor the test automation code and from the highest testing level towards its level below. After each refatoring step we will measure the differences and analyze the distribution again. The refactoring will be repeated until all tests are distributed correctly in the testing pyramid.

Finally we will explain the benefits of the achieved solution compared to the starting point of our refactoring journey.

Related Sessions

2:45 p.m. – 4:45 p.m.
Room D1+D2

120-minute Workshop

Virtual Pass session
1:30 p.m. – 2:30 p.m.
Room F1+F2+F3 - Plenary

45-minute Keynote

2:45 p.m. – 4:45 p.m.
Room E2+E3 - Track 5: Test Automation Deep Dive

120-minute Workshop

Virtual Pass session
4:00 p.m. – 4:45 p.m.
Room F3 - Track 3: Talks

25-minute Talk