Commit 43b16154 43b161543bdae54d8d6482f9804d485aab20dcb8 by Nicolas Perriault

merged PR #162 - improve xunit output, include standard text (@steffkes)

1 parent 5b1b57f1
...@@ -89,7 +89,7 @@ var Tester = function Tester(casper, options) { ...@@ -89,7 +89,7 @@ var Tester = function Tester(casper, options) {
89 89
90 this.on('success', function onSuccess(success) { 90 this.on('success', function onSuccess(success) {
91 this.testResults.passes.push(success); 91 this.testResults.passes.push(success);
92 this.exporter.addSuccess(fs.absolute(success.file), success.message); 92 this.exporter.addSuccess(fs.absolute(success.file), success.message || success.standard);
93 }); 93 });
94 94
95 this.on('fail', function onFail(failure) { 95 this.on('fail', function onFail(failure) {
......