Quildreen Motta edited this page Sep 28, 2013 · 12 revisions

Hey! Hi-Five is a supah-awesome and really simple test library for JavaScript projects. You can literally get it up and running in no-time!

Documentation

You can either check the documentation on-line, or build them locally. To build the documentation you'll need to install type.writer, and Node.js:

$ npm install
$ make documentation

This will generate the documentation as a series of HTML files on docs/build.

Sidekicks (aka Add-ons)

Assertion & Testing

  • Claire - Gives you idiomatic random property-based testing (like Haskell's QuickCheck).
  • Node's assert - Simple assert(), baked right into Node, works nicely on Browser.
  • Chai - Gives you assert.ok(a), expect(a).to and a.should assertions and good plugins.

Mocks & Spies

  • Sinon.js - Gives you spies, mocks and stubs.

Reporters

Examples

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.