Course Outline

Introduction

  • Understanding Unit Testing

Overview of Typescript Unit Test Frameworks

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

Setting up the Testing Environment

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

Overview of Typescript

  • Typescript vs Javascript and other languages
  • Understanding Typescript syntax and features

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 Typescript class
  • Writing stubs and mocks
  • Creating a Test Suite

Writing More Tests

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

Troubleshooting

Summary and Conclusion

Requirements

  • An understanding of software testing concepts
  • Javascript or Typescript programming experience
  • An understanding of NodeJs

Audience

  • Developers
  14 Hours
 

Testimonials

Related Courses

Agile Software Testing Overview

  7 hours

Unit Testing with JUnit

  21 hours

Unit Testing with Javascript

  7 hours

Unit Testing with Python

  21 hours

Unit Testing with C#

  14 hours

Unit Testing with Haskell

  7 hours

Unit Testing with C

  35 hours

Unit Testing: MSTest, xUnit, and nUnit

  21 hours

TypeScript

  7 hours

Advanced TypeScript

  7 hours

React, Redux and TypeScript

  21 hours

Unit Testing with PHPUnit

  14 hours

Test Driven Development

  21 hours

Unit Testing with F#

  7 hours

Jasmine: Unit Testing Javascript Applications

  7 hours