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

Software as a Service
University of California, Berkeley via Coursera
Software Testing
University of Utah via Udacity
The Hardware/Software Interface
University of Washington via Coursera
Software Debugging
Saarland University via Udacity
Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera