Skip to content

wrumsby/js-testing-boilerplate

Repository files navigation

Introduction

A simple boilerplate project to demonstrate JavaScript unit testing AMD modules with Mocha, Chai, Sinon.JS and Grunt.

Setup

  1. Install Node.js
  2. Install Grunt - sudo npm install -g grunt-cli
  3. Install JamJS - sudo npm install -g jamjs
  4. Install Yeti - sudo npm install -g yeti
  5. Install local Node modules - npm install
  6. Install local Jam modules - jam install

Running tests

With Grunt

Run Grunt - grunt mocha

With a Web Browser

Open test-runner.html in any web browser.

With Yeti

Run Yeti - yeti

About

Contemporary JavaScript Unit Testing Boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published