Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
busterjs code test coverage
JavaScript
branch: master

This branch is 26 commits behind englishtown:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
.gitignore
.npmignore
LICENSE-MIT
README.md
package.json

README.md

buster-istanbul

busterjs coverage extension

Getting Started

Add buster-istanbul as a dependency in your package.json file.

{
  "name": "awesome name",
  ...
  "dependencies": {
    "buster-istanbul": "*"
  }
}

Configure buster to use buster-istanbul as extension

module.exports.tests = {
    environment: "node",

    rootPath : "./",
    sources: [
        "src/**/*.js"
    ],
    tests : [
       "test/**/*-test.js"
    ],
    extensions: [
        require('buster-istanbul')
    ]
};

sources will be the files that will be instrumented. Write your buster test as usual.

Example project: buster-istanbul-demo

License

Copyright (c) 2012 kates
Licensed under the MIT license.

Something went wrong with that request. Please try again.