Skip to content
A Mocha in Browser Starter Kit
JavaScript
Failed to load latest commit information.
public Initial commit May 7, 2012
spec No need for should.js in the browser - wish I could use it Aug 19, 2012
.gitignore
Makefile No need for should.js in the browser - wish I could use it Aug 20, 2012
README.md Updating README.md May 7, 2012
mocha-in-browser.zip No need for should.js in the browser - wish I could use it Aug 20, 2012
package.json No need for should.js in the browser - wish I could use it Aug 20, 2012

README.md

Mocha In the Browser

A super simple example of how Mocha tests can be executed in the browser. A great way to start is cloning this project and working through the String Calculator Kata. Open up the public/index.html file in a browser to see the JavaScript object used by the page.

Integrating it into your project

Copy the spec directory into your project. Make sure the runner.html file has all the right paths.

Something went wrong with that request. Please try again.