https://github.com/vicompany/workshop-unit-testing
https://github.com/vicompany/workshop-unit-testing
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/vicompany/workshop-unit-testing
- Owner: vicompany
- Created: 2018-03-19T14:38:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T13:47:03.000Z (about 8 years ago)
- Last Synced: 2025-01-03T18:15:31.263Z (over 1 year ago)
- Language: JavaScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).