-
Notifications
You must be signed in to change notification settings - Fork 112
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
reporter output empty #161
Comments
Yeah xunit outputs to stdout instead of using |
But this is not fixed in mocha: still has console.log and not only that, all the reporters use console.log and console.log is needed as mocha is made to work in the browser too. wouldn't a better fix be detecting the running environment (phantom or browser) first and then deciding to use console.log or process.stdout.write ? |
I have replaced all occurrences of
in its shape, current xunit runner is really garbage, would try to fix it myself but I have no idea where to start, I've worked with qunit before and I've used the its hooks to create a usable xunit reporter for jenkins available here: https://gist.github.com/iongion/f23edaa708eafc240a8b In |
So do you understand the fundamental problem? reporters, mocha, and your apps under test all use Where did you replace all occourences of |
replaced them in the xunit.js but not the compiled mocha.js and yes, i guess i understand where hell is coming from as I've been bitten by it myself in qunit test runner, honestly would really like to have this working for jenkins or other xunit consumers |
I have a test case for that scenario to ensure it does actually work, so you'll have to dig in what's different for you |
when running:
I see all my tests running, but there is nothing inside the report file, it is empty and the xunit output is sent to stdout, together with console.log messages
The text was updated successfully, but these errors were encountered: