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
Sur cette page du site, vous pouvez voir la vidéo en ligne Unit testing explained | Testing in JavaScript using the Jest framework durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mayank Srivastava 11 mars 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 562 fois et il a aimé 8 téléspectateurs. Bon visionnage!