Demo project for CodeHub JavaScript 1-day workshop
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
README.md
index.js
package.json

README.md

tdd-express-mocha-chai

Demo project for CodeHub JavaScript 1-day workshop. This is a simple Express application developed using a test-driven approach using Mocha and Chai.

Requirements

How to run

The project can be run using

npm start

You can also run the tests using

npm test

How to use this project

This project is divided using git tags. Each tag corresponds to a different test in a pass or fail state. For example, 03_fail is the tag where the third test is in a fail state. To switch between tags, use

git checkout <tag_name>