New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cobertura-xml #4

Closed
eomara opened this Issue Feb 4, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@eomara
Copy link

eomara commented Feb 4, 2013

Is it possible to generate cobertura-xml directly with mocha?

@fengmk2

This comment has been minimized.

Copy link
Member

fengmk2 commented Feb 4, 2013

I google cobertura-xml, found out this issue of mocha: mochajs/mocha#349

And also there is a reporter module to generate cobertura-xml report. You can use it like this:

$ npm install mocha-cobertura-reporter

$ XXX_COV=1 ./node_modules/.bin/mocha --reporter mocha-cobertura-reporter > cobertura.xml

@fengmk2 fengmk2 closed this Feb 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment