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

Timetable

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

Room

Room F1 - Track 1: Talks

Audience

Developers and Testers

Key-Learning

  • 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

10:45 a.m. – 12:30 p.m.
Creative Space Room - Track 9: Bonus Sessions

105-minute Workshop

2:45 p.m. – 4:45 p.m.
Room D3+D4 - Track 8: Workshops

120-minute Workshop

8:30 a.m. – 4:30 p.m.
F-,E- & D-Rooms

Full-Day Tutorial (6 hours)

Virtual Pass session
10:45 a.m. – 11:30 a.m.
Room E2+E3 - Track 5: Test Automation Deep Dive

25-minute New Voice Talk