Introduction to Jest Testing - JavaScript Unit Tests
Offered By: Dave Gray via YouTube
Course Description
Overview
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
Introduction to Unit Testing in Jest - The FundamentalsCoursera Project Network via Coursera The Complete Node.js Developer Course (3rd Edition)
Udemy Building Your First Lightning Web Component (LWC) for Salesforce
Pluralsight React Native Ecosystem and Workflow
LinkedIn Learning The complete guide to testing javascript & node applications
Udemy