node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


npm version

(Note: I'm looking to add someone as a collaborator/maintainer if you're interested let me know.) describes using third party reporters in mocha.

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

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

Then call mocha with:

mocha --reporter mocha-teamcity-reporter test