0.0.1 • Published 7 years ago
kanu v0.0.1
Kanu
Powerful single-purpose test runner
Error Codes
0
All tests passed1
Some tests failed2
Invalid command line options
Async
Subjects
describe('a person', function () {
subject(function () {
return {
name: 'Thomas',
age: this.age
}
})
describe('old', function () {
before(function () {
this.age = 49
})
it('is old', function (person) {
assert.ok(person.age > 40)
})
})
describe('young', function () {
before(function () {
this.age = 20
})
it('is young', function (person) {
assert.ok(person.age < 27)
})
})
})
Roadmap
- Keyboard controls for watcher.Like 'r' for automatic rerun
- Browser loader based on SystemJS
0.0.1
7 years ago