Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
be96826c
...
be96826cd16a8c2a3887e5f54c831ea546ca5555
authored
2013-08-28 01:14:23 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #605 from fdubost/master
XML serialization for xUnit output
2 parents
8547c123
2071562a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/xunit.js
modules/xunit.js
View file @
be96826
...
...
@@ -83,7 +83,8 @@ function XUnitExporter() {
this
.
results
=
undefined
;
this
.
_xml
=
utils
.
node
(
'testsuites'
);
this
.
_xml
.
toString
=
function
toString
()
{
return
'<?xml version="1.0" encoding="UTF-8"?>'
+
this
.
outerHTML
;
// ouch
var
serializer
=
new
XMLSerializer
();
return
'<?xml version="1.0" encoding="UTF-8"?>'
+
serializer
.
serializeToString
(
this
);
};
}
exports
.
XUnitExporter
=
XUnitExporter
;
...
...
Please
register
or
sign in
to post a comment