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
2071562a
...
2071562ae7e99d82ba8439a1d20e9006de4c12ad
authored
2013-08-28 10:10:08 +0200
by
Florent DUBOST
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
XML serialization for xUnit output
1 parent
8547c123
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/xunit.js
modules/xunit.js
View file @
2071562
...
...
@@ -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