Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 561 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 561 Bytes

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