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

Select your country

Select your country to access the registration page

Malaysia

Register Now

Duration: 3 Day
Timing: 9 AM to 5 PM Malaysia Time

Philippines

Register Now

Duration: 3 Day
Timing: 9 AM to 5 PM Philippine Time

Singapore

Register Now

Duration: 3 Day
Timing: 9 AM to 5 PM Singapore Time

All Other Locations

Register Now

Duration: 3 Day
Timing: 9 AM to 5 PM Philippines/Singapore/Hong Kong Time

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.

Processworks Sdn. Bhd. is a registered HRD Corp Training Provider

Audience

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

Prerequisites

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

Exclusions

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

Course Outline

Introduction

  • 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

Gherkin

  • 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