Unit testing explained | Testing in JavaScript using the Jest framework

Published: 11 March 2023
on channel: Mayank Srivastava
562
8

In this video, we will what unit testing is and how you can write unit tests for your JavaScript modules by using the Jest framework.

Important Links:
Getting started with Jest: https://jestjs.io/docs/getting-started
Documentation on matchers: https://jestjs.io/docs/using-matchers

Chapters:
0:00 Introduction
0:48 What is unit testing?
3:29 Writing unit test with Jest
5:42 Arrange, Act, Assert
9:43 Isolating systems and introduction to mocking
11:48 Negative unit test case/Testing error thrown


On this page of the site you can watch the video online Unit testing explained | Testing in JavaScript using the Jest framework with a duration of hours minute second in good quality, which was uploaded by the user Mayank Srivastava 11 March 2023, share the link with friends and acquaintances, this video has already been watched 562 times on youtube and it was liked by 8 viewers. Enjoy your viewing!