0.10.1 • Published 10 years ago
hydro v0.10.1
hydro
Teeny-weeny test runner for Node.js
Quick start guide
Install
hydro
and any plugins you might want to use with NPM. (Suggestions: install a basic test reporter, likehydro-bdd
orhydro-tdd
.)npm install --save-dev hydro hydro-bdd
Create a
hydro.conf.js
file in the root of your project.var assert = require('assert'); module.exports = function(hydro) { hydro.set({ attach: global, suite: 'My test suite', formatter: 'hydro-simple', plugins: ['hydro-bdd'], tests: ['./test/*.js'], globals: { assert: assert } }); }
Write some tests in the directory you pointed to.
describe('A basic test', function() { it('should allow for assertions', function() { assert(true); }); });
Now run your test from the root directory of your project!
./node_modules/.bin/hydro
Authors
License
The MIT License (see LICENSE)
0.10.1
10 years ago
0.10.0
10 years ago
0.9.2
10 years ago
0.9.1
10 years ago
0.9.0
10 years ago
0.8.11
10 years ago
0.8.10
10 years ago
0.8.9
10 years ago
0.8.8
10 years ago
0.8.7
10 years ago
0.8.6
10 years ago
0.8.5
10 years ago
0.8.4
10 years ago
0.8.3
10 years ago
0.8.2
10 years ago
0.8.1
10 years ago
0.8.0
10 years ago
0.7.2
10 years ago
0.7.1
10 years ago
0.7.0
10 years ago
0.6.1
10 years ago
0.6.0
10 years ago
0.5.1
10 years ago
0.5.0
10 years ago
0.4.0
10 years ago
0.3.0
10 years ago