Course Category: Agile Methods
Course Duration: 3 Days
Hours: 21 Contact Hours

Course Introduction

In this three-day intensive workshop, participants will learn the principles and techniques of Behavior Driven Development (BDD) using Cucumber. The primary focus is to coach participants to apply test automation with framework collectively known as BDD test frameworks to adopt test-first method and making tests accessible to non-technical users. The course attendees will learn practices for writing solid and reliable tests & test code efficiently. Program includes many demonstrations. In addition, the course shall cover details on how to use Serenity framework for superior reporting.

Participants will have hands-on practice with cucumber, JUnit and serenity.


Program is primarily for Developers & Testers and any Team member that are directly involved with Test Automation using Java.


Participants must have SDLC experience and be able to code in Java using Eclipse.

Software Requirement

IDE for Coding exercises – Eclipse with Cucumber and Serenity


SDLC like Scrum, Test planning, Estimation, TDD with Unit Testing and anything not mentioned in content.

Course Outline


  • Testing Fundamentals
  • Types of Tests
  • How to find Test Cases
  • Good Tests
  • Bad Tests
  • Automated Tests
  • What is Behaviour-Driven Development?
  • Living Documentation
  • How Cucumber Works
  • Installation
  • First time using Cucumber
  • Creating a Feature
  • Creating Step Definitions
  • Implementing Step Definition
  • Cucumber’s Output
  • Adding an Assertion
  • Pass It


  • Format and Syntax
  • Feature
  • Scenario
  • Comments
  • Background
  • Data Table
  • Scenario Outline
  • Doc Strings
  • Tags
  • Using subfolders

Course Outline

More Cucumber

  • Step and Step Definition
  • Capturing Data
  • Declaring Results
  • Helper Methods
  • Assertions
  • Transformation
  • Sharing State
  • Code Separation
  • Dependency Injection
  • Refactoring
  • Hooks and Tags
  • Polling
  • Running Tests

Make Tests Better

  • Shared Environments
  • Leaky Scenario
  • Race Conditions
  • Fixture Data
  • Duplication
  • Collaboration
  • Testability
  • Legacy Code
  • Too Much Info
  • Using Domain Language
  • Defect Prevention
  • Cucumber with Serenity
  • Serenity Steps
  • Serenity Screenplay
  • Serenity Reports

Course Category: Agile Methods
Course Duration: 3 Days
Hours: 21 Contact Hours

Processworks Sdn Bhd
MyCOID: 659359-X
HRD Corp registered training provider