问题
There is a similar question here - Casperjs 1.1 does not generate XUnit xml file
The answer to linked question works when one is executing single .js files, when I trigger the script with casperjs test /path/to/test/files, then multiple test suite files in the folder get executed in sequence, and when that happens the file name in --xunit parameter doesnt get written to. Is there any way to do this?
来源:https://stackoverflow.com/questions/29467310/xunit-output-when-running-a-directory-of-tests