Skip to content

Commit 21b597d

Browse files
committed
removed skipped from total
1 parent b74a141 commit 21b597d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "test-results-parser",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "Parse test results from JUnit, TestNG, xUnit and many more",
55
"main": "src/index.js",
66
"types": "./src/index.d.ts",

src/parsers/testng.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function parse(options) {
7979
}
8080
if (results['@_skipped']) {
8181
result.skipped = results['@_skipped'];
82-
result.total = result.total - result.skipped;
82+
// result.total = result.total - result.skipped;
8383
}
8484
const ignored = results['@_ignored'];
8585
if (ignored) {

tests/parser.testng.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('Parser - TestNG', () => {
9595
assert.deepEqual(result, {
9696
"id": "",
9797
"name": "Regression Tests",
98-
"total": 19,
98+
"total": 20,
9999
"passed": 8,
100100
"failed": 11,
101101
"errors": 0,

0 commit comments

Comments
 (0)