YoVDO

JavaScript Unit Testing Tutorial for Beginners

Offered By: Programming with Mosh via YouTube

Tags

Javascript Courses Software Development Courses Unit Testing Courses Code Quality Courses Test-Driven Development Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive JavaScript unit testing tutorial designed for beginners. Learn the fundamentals of unit testing, including its importance in reducing bugs and improving code quality. Explore different types of tests, choose an appropriate testing framework, and set up Vitest for your projects. Follow along with practical exercises, such as testing the fizzBuzz function and implementing Test-Driven Development. Gain hands-on experience writing your first test and discover how to apply unit testing principles to enhance your JavaScript coding skills.

Syllabus

Course Intro
Prerequisites
Course Structure
How to Take This Course
Setting Up the Testing Environment
Starter Project
Introduction to Unit Testing
What is Unit Testing?
Types of Tests
Choosing a Testing Framework
Setting Up Vitest
Writing Your First Test
Exercise: Testing fizzBuzz
Test-Driven Development
Exercise: Testing Factorial


Taught by

Programming with Mosh

Related Courses

Learn to Program: Crafting Quality Code
University of Toronto via Coursera
数据结构与算法 Data Structures and Algorithms
Peking University via Coursera
数据结构与算法第一部分 | Data Structures and Algorithms Part 1
Peking University via edX
Software Construction in Java
Massachusetts Institute of Technology via edX
Advanced Software Construction in Java
Massachusetts Institute of Technology via edX