Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wrumsby/js-testing-boilerplate
Contemporary JavaScript Unit Testing Boilerplate
https://github.com/wrumsby/js-testing-boilerplate
Last synced: 6 days ago
JSON representation
Contemporary JavaScript Unit Testing Boilerplate
- Host: GitHub
- URL: https://github.com/wrumsby/js-testing-boilerplate
- Owner: wrumsby
- Created: 2013-04-08T09:17:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-29T08:10:52.000Z (over 11 years ago)
- Last Synced: 2024-04-14T18:20:13.844Z (7 months ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
A simple boilerplate project to demonstrate JavaScript unit testing AMD modules with Mocha, Chai, Sinon.JS and Grunt.
## Setup
1. Install Node.js
1. Install Grunt - `sudo npm install -g grunt-cli`
1. Install JamJS - `sudo npm install -g jamjs`
1. Install Yeti - `sudo npm install -g yeti`
1. Install local Node modules - `npm install`
1. 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`