JavaScript Unit Testing – The Practical Guide
Learn how to write automated tests (unit & integration tests) for your JavaScript projects with Vitest & Jest.
Created by Academind by Maximilian Schwarzmüller | 5.5 hours on-demand video course
This course will teach you automated unit & integration testing with JavaScript from the ground up. You will learn how tests are written and added to your projects, what should (and should not) be tested and how you can test both simple as well as more complex code.
You will learn about the software and setup required to write automated tests and example projects will be provided as part of the course. It’s a hands-on, practical course, hence you won’t get stuck in theory – instead you’ll be able to learn all key concepts at real examples.
In the course, Vitest will be used as the main testing library & tool. It’s a modern JavaScript test runner and assertion library that provides Jest compatibility. Hence what you’ll learn in this course will help you no matter if you’re working with Vitest or Jest. And the core concepts will apply, no matter which testing setup you’re using at all!
What you’ll learn
- Write and structure unit & integration tests
- Remove side effects from tests via mocking and spies
- Work with popular JavaScript test runners and libraries
- Write good tests and focus on testing core business logic
Recommended Course by Academind Maximilian Schwarzmüller
ChatGPT – The Complete Guide to ChatGPT & OpenAI APIs [NEW COURSES]
Cypress End-to-End Testing – Getting Started
Angular 16 – The Complete Guide (2023 Edition)
Remix.js – The Practical Guide
GitHub Actions – The Complete Guide
AWS Cloud Practitioner (CLF-C01) | Complete AWS Introduction
100 Days Of Code – 2023 Web Development Bootcamp
SQL – The Complete Developer’s Guide (MySQL, PostgreSQL)
React 18 – The Complete Guide (incl Hooks, React Router, Redux)
JavaScript – The Complete Guide 2023 (Beginner + Advanced)
Python Django – The Practical Guide [2023 Edition]
Angular & NodeJS – The MEAN Stack Guide [2023 Edition]
Flutter & Dart – The Complete Guide [2023 Edition]
NodeJS – The Complete Guide (MVC, REST APIs, GraphQL, Deno)
React Native – The Practical Guide [2023 Edition]
Docker & Kubernetes: The Practical Guide [2023 Edition]
MongoDB – The Complete Developer’s Guide 2023
React, NodeJS, Express & MongoDB – The MERN Fullstack Guide
CSS – The Complete Guide 2023 (incl. Flexbox, Grid & Sass)