Workshop Front-end Unit Testing 🤘

This is the front-end unit testing workshop to get started with unit testing through some practical assignments.

What you will learn:

  • Unit test basics (with AVA)
  • Setup & teardown
  • Spies & mocking
  • What not to test
  • Fixing bugs with unit tests

Prerequisites

Getting started

To get started, you will have to download the project and install it’s dependencies. Run the following commands:

# Copy the repository
git clone https://github.com/vicompany/workshop-unit-testing.git

# Navigate the the workshop directory
cd workshop-unit-testing

# Install all dependencies
npm install

That is all!

Introduction

Go to the introduction.

Assignments

Go to the assignments.