使用$mocha-phantomjs -R xunit -f outputFile.xml myPage.html
->这是生成xml格式的控制台输出,但不写入输出文件。
另一方面:
$mocha-phantomjs -R json -f outputFile.json myPage.html
->工作正常。
发布于 2015-05-15 04:44:12
好的,这个问题之前已经在mocha-phantomjs的github repo中解决了。这里是链接Go To Issue
https://stackoverflow.com/questions/30228008
复制相似问题