Powerful single-purpose test runner
0
All tests passed1
Some tests failed2
Invalid command line options
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)
})
})
})
- Keyboard controls for watcher.Like 'r' for automatic rerun
- Browser loader based on SystemJS