The Practical Guide to JavaScript Unit Testing

Categories: Development, JavaScript
Wishlist Share
Share Course
Page Link
Share On Social Media

About Course

In current (web) development, automated testing is a crucial notion.

Many developers, though, find the idea scary at first and don’t want to test their projects or add tests to them.

This course will show you how to use JavaScript to automate unit and integration testing from the bottom up.

You’ll learn about the tools and configuration needed to develop automated tests, and you’ll get to work on several sample projects as part of the class. You won’t get trapped in theory since this is a hands-on, practical course; instead, you’ll be able to learn all the major principles via real-life situations.

Vitesse will be the primary testing library and tool in this course. It’s a contemporary JavaScript test runner and assertion framework that’s compatible with Jest. As a result, anything you learn in this course will be useful whether you’re working with Vitesse or Jest. And the main ideas will apply regardless of any testing environment you choose!

This course does not cover certain sorts of JavaScript projects, nor does it cover any particular library or framework.

Instead, you’ll learn how to test your (vanilla) JavaScript code automatically, regardless of whether it’s for a NodeJS or frontend project. The basics you’ll learn in this course will help you with both backend (NodeJS) and frontend (vanilla JS, React, Vue, Angular) projects in the future.

This course will provide you with a rock-solid basis on which to construct your JavaScript applications, allowing you to start implementing tests right away.

Show More

What Will You Learn?

  • Unit and integration tests should be written and structured.
  • Utilize well-known JavaScript test runners and libraries.
  • Write excellent tests and concentrate on testing the most important business logic.

Course Content

Getting Started

  • 00:55
  • What Is Testing
  • Unit Testing What Why
  • Draft Lesson
  • A Quick Note About Test Driven Development TDD
  • About This Course
  • Course Resources _ Project Snapshots.html

Setup _ Testing Software

Testing Basics

Writing Good Tests

Integration Tests

Advanced Testing Concepts

Mocking _ Spies Dealing with Side Effects

More on Mocking _ Diving Deeper

Testing _ The DOM (Frontend JavaScript Testing)

Course Roundup

Student Ratings & Reviews

No Review Yet
No Review Yet