This repo contains the examples used in the Programming Duck testing class.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- NPM
Installation requires NPM which is included with Node. You can install Node by downloading the installer from the website.
To update NPM to the latest version:
npm install -g npm@latest
- Clone the repo
git clone https://github.com/sargalias/programming-duck-unit-testing-class.git
- Install NPM packages
npm install
This command runs the tests once:
npm run test
This commands runs the test in watch mode (continuously as you work on the code):
npm run test:watch