A journey with the Serenity-BDD framework and Screenplay Pattern: a better way to structure your automation code. Based on real-life experience!

Kurzbeschreibung

In this talk we'll take a look at the Screenplay pattern enabled by the Serenity-BDD open source testing framework for Java.

 

The Screenplay Pattern allows you to implement automated tests in a powerful and elegant approach. It has many improvements over the PageObject Model Pattern which we will discuss in the talk.

Serenity-BDD wraps this pattern in an easy to use framework, that encourages clean, readable code that is more robust. The framework creates nice reports without having to spend any extra effort.

 

I have been using the Screenplay pattern over 3 years now in 2 different projects. One in Scala for a project for balancing the energy grid and one in Java for the control software of 6 car factories around the world.

 

I'll highlight lessons learned from the projects.

Nutzen für den Teilnehmer:
How to improve the code quality of your test automation framework.

Behandelte Problemstellungen:
Writing maintainable test automation code is not easy. Very often, with more and more tests and more and more framework functionality, it becomes difficult to have a good structure in your code with correct layers. The Screenplay pattern can help.

Vortragssprache: Englisch
Level: Fortgeschrittene
Zielgruppe: test automators

Unternehmen:
tesuqa

Vorgetragen von:
Chris Van Bael

Chris Van Bael