YoVDO

Introduction to Jest Testing - JavaScript Unit Tests

Offered By: Dave Gray via YouTube

Tags

JEST Exam Courses Web Development Courses Node.Js Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to write JavaScript unit tests using Jest in this comprehensive tutorial video. Discover the importance of unit testing, set up your development environment with Node.js and npm, and write your first test cases. Explore the process of testing multiple functions, understand the concept of single responsibility in testing, and generate coverage reports. Gain practical insights into Jest's features and best practices for effective JavaScript unit testing to improve your code quality and reliability.

Syllabus

Intro
Welcome
Lesson Goal
Why Write Tests?
Quick Note
Install Node for npm
Checking your Node install
A Simple Function
Install Jest
Your First Unit Test
How to Run Tests
What is a Unit Test?
Testing a 2nd Function
Testing a 3rd Function
Drilling Down to a Single Responsibility
Generating a Coverage Report
Wrap up


Taught by

Dave Gray

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX