Skip to content
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

--file not working #177

Closed
courajs opened this issue Mar 13, 2015 · 2 comments
Closed

--file not working #177

courajs opened this issue Mar 13, 2015 · 2 comments

Comments

@courajs
Copy link

courajs commented Mar 13, 2015

OSX 10.10, bash, mocha-phantomjs 3.5.3, phantomjs 1.9.8, node v0.10.34
running mocha-phantomjs -t 30000 -R xunit --file thing.xml test.html
I'm expecting the xunit output to go into thing.xml. Instead it comes to standard out. Additionally, it creates thing.xml, but it is an empty file.
Any ideas?

@nathanboktae
Copy link
Owner

See #161 and #114. just use:

mocha-phantomjs -t 30000 -R xunit test.html > thing.xml

@courajs
Copy link
Author

courajs commented Mar 13, 2015

Relevent is that there were resource errors polluting my xml, which is why I moved away from > in the first place. --ignore-resource-errors fixed the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants