mocha-teamcity-cov-reporter

0.0.1 • Public • Published

https://github.com/visionmedia/mocha/wiki/Third-party-reporters describes using third party reporters in mocha.

Basically, have your project's package.json be like:

{  
  "devDependencies": {  
    "mocha-teamcity-cov-reporter": ">=0.0.1"  
  }  
}

Then call mocha with:

mocha --reporter mocha-teamcity-cov-reporter test

This also works well with grunt-mocha-test

mochaTest: {  
  test: {  
    // Your test settings  
  },  
  coverage: {  
    options: {  
      reporter: 'mocha-teamcity-cov-reporter',  
      quiet: false  
    },  
    src: ['src/files.js']  // Your source code files  
  }  
}

Readme

Keywords

none

Package Sidebar

Install

npm i mocha-teamcity-cov-reporter

Weekly Downloads

409

Version

0.0.1

License

MIT

Last publish

Collaborators

  • cmmcleod