@testomatio/reporter 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.6
2
+
3
+ * JUnit reporter: prefer suite title over testcase classname in a report
4
+
1
5
  # 0.6.5
2
6
 
3
7
  * Fixed test statuses for runs in JUnit reporter
package/lib/xmlReader.js CHANGED
@@ -332,7 +332,7 @@ function reduceTestCases(prev, item) {
332
332
  run_time: testCaseItem.time,
333
333
  status: (testCaseItem.failure || testCaseItem.error) ? 'failed' : 'passed',
334
334
  title: testCaseItem.name,
335
- suite_title: testCaseItem.classname || item.name,
335
+ suite_title: item.name || testCaseItem.classname,
336
336
  })
337
337
  });
338
338
  return prev;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",