Course Outline


  • How Unit Testing Works

Overview of Javascript Unit Test Frameworks

  • Jasmine, Mocha, Jest, Chai, QUnit
  • Unit test uses cases

Setting up the Testing Environment

  • Downloading and installing the libraries
  • Installing and configuring an IDE
  • Setting up a sample application

Writing Your First Unit Test

  • Setting up a test
  • Writing a test definition
  • Working with nested scoping
  • Creating assertions
  • Running the unit test

Debugging the unit test

  • Stepping through the code
  • Creating breakpoints
  • Setting up debug tasks

Expanding the Unit Test

  • Writing a complex Javascript class
  • Writing stubs and mocks
  • Creating a Test Suite

Implementing TDD and BDD

  • Creating automated specifications
  • Collaborating with users and testers

Writing More Tests

  • Testing Node.js
  • HTTP endpoint unit tests
  • Testing a REST APIs
  • Writing an integration test
  • Testing React components (optional)


Summary and Conclusion


  • A general understanding of unit testing
  • Javascript programming experience
  • Experience working with Node.js
  7 Hours


Related Courses

Watir: Web Test Automation with Ruby

  21 hours

Test Automation with Selenium

  21 hours

Introduction to Selenium

  7 hours

Selenium for Victims of Manual Testing

  14 hours

Complete Web Testing Environment with Selenium WebDriver and JMeter

  35 hours

Test Automation with Selenium and Jenkins

  21 hours

Selenium WebDriver Overview

  7 hours

Selenium WebDriver in C#

  14 hours

Iridium: Cucumber and Selenium Based Testing

  7 hours

Test Automation with Selenium and Katalon Studio

  14 hours

Testing Angular Applications

  14 hours

Protractor: End-to-End Testing for Angular Web Applications

  14 hours

Testing React Apps with Jest

  14 hours

Automation Testing with Cypress

  14 hours

Jasmine: Unit Testing Javascript Applications

  7 hours