Mocha test report customize xunit reporter -


In the XueNet Reporter of Mocha, this feature generates reports for tests, failures, skips, errors. But I also want to delay the morale, decline and block the report. Are these reports generated through XYUET? We may customize the XYNet Reporter to generate a report of test cases which

  has been blocked.   

Please help me find solutions for this.

It seems that this is a known problem and pending tests have been added to the xunit reporter.

First of all, are you using the latest version of Mocha?

The bridge request has been merged with the latest version of Mocha and should include pending requests in XYnet?

You can always open and edit lib / reporters / xunit.js and add

  runner.on ('omitted', function (test) { Tests.push (test);}); Runner.on ('blocked', function (test) {tests.push (test);});   

Or instead of stopping the Mocha, make a copy of Xunit and create a custom Motion reporter. You can use it as a template

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -