json-to-xml-reporter
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "json-to-xml-reporter", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "tool for parsing json report and creating xml report", | ||
@@ -5,0 +5,0 @@ "main": "./parser/jsonReporterToXml.js", |
@@ -21,5 +21,8 @@ "use strict"; | ||
this.toXml.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'); | ||
this.toXml.push('\n<testsuites>\n'); | ||
this.toXml.push(this._testSuiteInfo(jsonResultsObj.stats)); | ||
this._testCasesInfo(jsonResultsObj.suites); | ||
this.toXml.push('\n</testsuite>'); | ||
this.toXml.push('\n</testsuites>'); | ||
@@ -26,0 +29,0 @@ fs.existsSync(folderName) || fs.mkdirSync(folderName); |
3741
70