Course Outline

About Behavior Driven Development


  • Participants must have a basic knowledge of JavaScript


  • 2-5 days (covering a subset of the topics - contact us for more information/customization)

Lab Setup

  • Hardware Configuration - Participants must have access to a system with the following hardware configuration:
    • 2GB of free RAM, 20GB of free disk space and full network connectivity
  • Software Configuration
    • Ubuntu 16.04 Desktop Edition (sudo/root access required)
    • Firefox and Chrome browsers

Course Outline for Behavior Driven Development or BDD

Introduction to Behaviour Driven Development or BDD
  • Imporatance of BDD in development
  • Types of BDD frameworks
Getting started with BDD
  • Using headless browsers in BDD
  • Installation and usage of jsdom
BDD using Jasmine
  • Installation and configuration
  • Hello world in Jasmine
  • Creating test suites using Jasmine
  • Spies, Setup and Teardown using Jasmine
BDD using Mocha & Chai
  • Installation and configuration
  • Hello world using Mocha
  • Assertions in Mocha
  • Hello world in Chai
  • Using Chai assertions with Mocha
BDD using Enzyme
  • Installation and configuration
  • Hello world using Enzyme
  • Shallow & Full DOM rendering
  • Using Mocha with Enzyme
BDD using Jest
  • Installation and configuration
  • Hello world using Jest
  • Using Jest with Webpack & Babel

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.