Tutorialspoint

Unit Testing and Test Driven Development in NodeJS

Learning the discipline of Test Driven Development (also known as TDD) in NodeJS with Javascript.

  Richard Wells

   Development, Programming Languages, Javascript

  Language - English

   Published on 07/2020

0

Description

Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code.  In this course I'll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.

In this course we’ll be going over:

  • What is Unit Testing and Test Driven Development and how does it help you.
  • What are the Mocha and Chai testing libraries and how are they used for writing unit tests in NodeJS.
  • How to setup some common NodeJS development environments to use Mocha and Chai.
  • What are Test Doubles and how do you implement and use them with Sinon.
  • What are some Best Practices for unit testing and Test Driven Development.
  • We’ll also walk through some hands on example programming sessions using TDD in NodeJS.

What Will I Get ?

  • Learn what is Unit Testing and Test Driven Development and how does it help you.
  • What are the Mocha and Chai testing libraries and how are they used for writing unit tests in NodeJS.
  • How to setup some common NodeJS development environments to use Mocha and Chai.
  • What are Test Doubles and how do you implement and use them with Sinon.
  • What are some Best Practices for unit testing and Test Driven Development.
  • We’ll also walk through some hands on example programming sessions using TDD in NodeJS.

Requirements

  • Introductory understanding of Javascript and NodeJS
  • A PC running Windows, MacOS X, or Linux
  • NodeJS installed on the PC
  • Your preferred IDE or code editor installed
0
Course Rating
0%
0%
0%
0%
0%

    Feedbacks (0)

  • No Feedbacks Yet..!

We make use of cookies to improve our user experience. By using this website, you agree with our Cookies Policy.