Skip to content

geigerzaehler/kanu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kanu

Build Status

Powerful single-purpose test runner

Error Codes

  • 0 All tests passed
  • 1 Some tests failed
  • 2 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

About

Poweful single-purpose test runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published