@testream/mocha-reporter
v1.2.1
Published
Mocha reporter to upload test results to Testream
Downloads
412
Maintainers
Readme
@testream/mocha-reporter
Bridges Mocha test runs from your codebase into Jira with Testream. Once configured, it uploads results automatically.
Quick Start
npm install --save-dev @testream/mocha-reporter// .mocharc.js
module.exports = {
reporter: '@testream/mocha-reporter',
'reporter-option': [
`apiKey=${process.env.TESTREAM_API_KEY}`,
'uploadEnabled=true',
],
};The reporter also captures the Mocha test body's source text at runtime, so
generated CTRF reports include snippet even when explicit line metadata is
not available.
Need more configuration options? See the full guide at https://docs.testream.app/reporters/mocha.
