This is the front-end unit testing workshop to get started with unit testing through some practical assignments.
- Unit test basics (with AVA)
- Setup & teardown
- Spies & mocking
- What not to test
- Fixing bugs with unit tests
- You are familiar with JavaScript (ES2017+)
- Node.js and npm
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!
Go to the introduction.
Go to the assignments.