Serenity BDD: Writing Better Automated Acceptance Tests Training Course

Course

In City Of London

Price on request

Description

  • Type

    Course

  • Location

    City of london

"40% to 70% of the time spent by many test automation teams is spent on maintaining their test suites ...either refactoring tests because the application changed but also just sifting through the results of the tests when they break..." -- John Furguson Smart, creator of Serenity.
Serenity is an open-source reporting library that enables testers to write well-structured, maintainable acceptance criteria. Serenity produces rich and meaningful test reports ("living documentation") that not only report on the test results, but also document what they did, in a step-by-step narrative format that includes test data and screenshots.
In this training participants will learn how to write high quality tests by employing "screenplays" and the idea of "actors, tasks, and goals" to express tests in business terms rather than as interactions between system components. We look at both functional and UI testing scenarios and demonstrate how Serenity can be used to manage their testing. All lecture, notes, quizes and discussions are accompanied by live hands-on practice and implementation.
By the end of this training, participants will understand the Serenity framework and be able to utilize it with comfort. As important, participants will learn to think of and approach test automation from a different light.
Audience
Automation testers
Format of the course
This course walks participants through real-life cases for Behavior Driven Development (BDD) and demonstrates hands-on how to implement Serenity in various test scenarios.

Facilities

Location

Start date

City Of London (London)
See map
Token House, 11-12 Tokenhouse Yard, EC2R 7AS

Start date

On request

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Subjects

  • Screenplay
  • Writing
  • Web
  • Testing

Course programme

Introduction

  • Automated Testing
  • ATDD (Acceptance Testing Driven Development)
  • BDD (Behavior Driven Development)

Why Serenity?

  • Test reports as "living documentation"
  • Actors, tasks, and goals
  • Screenplay pattern vs page objects

Serenity architecture

  • Pages, Steps, Requirements, Tests, Reports

Setting up and configuring your test environment

  • JUnit, Serenity BDD, and a little Selenium WebDriver

Defining requirements and acceptance criteria

Automating your acceptance criteria

Setting up your Screenplays

  • Screenplay questions
  • Serenity abilities

Testing a web application with Screenplay

Writing your first Serenity test

Screenplay web interactions

Screenplay web questions

Handling timeouts and waits

Running your Serenity test

Generating Serenity test reports

A look at the Serenity project structure

Integrating Serenity with Cucumber and JBehave

Closing remarks

Serenity BDD: Writing Better Automated Acceptance Tests Training Course

Price on request