Skip to main content
search

For More Details Contact Us

Overview

The 2-day Cucumber.js course shows how to apply BDD in practice: discover and formulate requirements using Given/When/Then, how to make your JavaScript app better by automating scenarios using Cucumber.js. It is all the same if you develop back-end (node.js) or front-end (eg. React) apps, through the series of course exercises you will acquire the necessary skills to become a BDD and Cucumber.js practitioner. The attendees shall receive a certificate upon the successful completion of the course.

Course Contents

  • Introduction
  • Defining your project requirements
  • Setting up your environment for web application testing
  • Gherkin: writing your stories in a user-friendly language
  • The anatomy of the Feature file
  • Writing your first feature
  • Writing scenarios for your feature
  • Writing step definitions
  • Passing parameters to Steps
  • Creating scenario outlines to pass multiple arguments
  • Sharing data between steps
  • Organizing features and scenarios with tags
  • Setup and teardown
  • Testing Angular applications with Cucumber.js
  • Integrating Cucumber.js with Protractor
  • Closing remarks

What You Will Learn?

  • Work with Behavior Driven Development using Cucumber.js
  • Write and maintain executable specification using the Gherkin (Given/When/Then) feature file format
  • Drive the implementation of the application by BDD scenarios
  • Design and implement a test automation layer that is easy to maintain even for larger number of tests
  • Automate application through the domain layer or using browser automation
  • Use Cucumber.js for ensuring the quality on the back-end (node.js)
  • Use Cucumber.js for verifying the front-end code running in the browser (e.g. single-page apps with React or Angular.js) with WebdriverIO
  • Use all important features of Cucumber.js
  • Integrate these into the existing development process
  • Become a strong member of a BDD team

Module 1: Capturing Requirements with Given/When/Then

  • Quick intro/refresh on Behavior Driven Development
  • Specification by Example –The role of examples in specification:Discovering rules and examples using structured conversations and Example Mapping
  • Given/When/Then through examples –Good and bad scenario writing patterns:Checklist for good scenarios; The Gherkin syntax
  • Ubiquitous Language –A language that everyone understands:Focusing on the domain language; Separation of problem domain and solution domain; Domain model vs. scenarios

Module 2: Automation with Cucumber.js

  • Introduction to Cucumber.js:Setting up Cucumber.js; Cucumber.js automation concept; Naming conventions
  • Introduction to the scenario automation workflow:Test-first thinking; Outside-in development
  • Working with DataTables:Working with the Table object; Table assertions
  • Sharing state (data) between steps:Different state sharing options; Global nature of step definitions; World object
  • Organizing step definitions: Finding the right structure for the binding code
  • Automating web applications with WebdriverIO:Building up automation infrastructure. Using cucumber integration of WebdriverIO. Synchronous and asynchronous step definitions.
  • Structuring the automation layer: Separation of automation and testing concerns; Layering the automation infrastructure; The Driver pattern; The Page Object Pattern; Nested page objects; Automating UI concepts; Assertions in the automation layer

Why Choose Us?

Our aim is not just to get you the qualification but also guide you through all processes while you are applying for your SIA Licence. Following are some of the reasons why you should choose us as your training provider:

  • Excellent Success Rate!
  • Fully accredited and authorized training center in London!
  • Most competitive prices with NO HIDDEN COSTS!
  • Prices are all inclusive of tuition, handbook, notebook, exams and certificate costs!
  • Nationally recognized and Ofqual accredited training course!
  • Highly skilled and qualified trainers with a great wealth of practical knowledge & experience!
  • Post-qualification email support while you are preparing to book your licence application!
  • Free guidance session on how to apply and obtain a SIA Licence!

Who is it for?

The course is for developers and testers, who are involved in automating BDD scenarios. As the course exercises are based on pair-programming, product owners or business analysts with basic coding knowledge are also welcome.

Duration

Duration of the BDD with Cucumber.js Training Course is:
2 Day

Prerequisite

A training workstation is required with node.jsand an IDE (e.g. Atom or Visual Studio Code) installed.

Close Menu
Call Now Button
× Whats App Contact