An open API service indexing awesome lists of open source software.

https://github.com/vicompany/workshop-unit-testing


https://github.com/vicompany/workshop-unit-testing

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 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](https://github.com/avajs/ava))
- Setup & teardown
- Spies & mocking
- What not to test
- Fixing bugs with unit tests

## Prerequisites

- You are familiar with JavaScript (ES2017+)
- [Node.js and npm](https://nodejs.org/)

## Getting started

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

```shell
# 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](docs/introduction.md).

## Assignments

Go to the [assignments](docs/assignments.md).