-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow adding
<properties>
to <testcase>
- Loading branch information
Sebastian Silbermann
committed
Mar 22, 2023
1 parent
64b7cf0
commit fa3594e
Showing
6 changed files
with
245 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"numFailedTestSuites": 0, | ||
"numFailedTests": 0, | ||
"numPassedTestSuites": 1, | ||
"numPassedTests": 1, | ||
"numPendingTestSuites": 0, | ||
"numPendingTests": 0, | ||
"numRuntimeErrorTestSuites": 0, | ||
"numTotalTestSuites": 1, | ||
"numTotalTests": 1, | ||
"snapshot": { | ||
"added": 0, | ||
"failure": false, | ||
"filesAdded": 0, | ||
"filesRemoved": 0, | ||
"filesUnmatched": 0, | ||
"filesUpdated": 0, | ||
"matched": 0, | ||
"total": 0, | ||
"unchecked": 0, | ||
"unmatched": 0, | ||
"updated": 0 | ||
}, | ||
"startTime": 1489712747092, | ||
"success": true, | ||
"testResults": [ | ||
{ | ||
"console": null, | ||
"failureMessage": null, | ||
"numFailingTests": 0, | ||
"numPassingTests": 1, | ||
"numPendingTests": 0, | ||
"perfStats": { | ||
"end": 1489712747644, | ||
"start": 1489712747524 | ||
}, | ||
"snapshot": { | ||
"added": 0, | ||
"fileDeleted": false, | ||
"matched": 0, | ||
"unchecked": 0, | ||
"unmatched": 0, | ||
"updated": 0 | ||
}, | ||
"testFilePath": "/path/to/test/__tests__/foo.test.js", | ||
"testResults": [ | ||
{ | ||
"ancestorTitles": [ | ||
"foo", | ||
"baz" | ||
], | ||
"duration": 1, | ||
"failureMessages": [], | ||
"fullName": "foo baz should bar", | ||
"numPassingAsserts": 0, | ||
"status": "passed", | ||
"title": "should bar", | ||
"invocations": 2, | ||
"retryReasons": ["error"] | ||
} | ||
], | ||
"skipped": false | ||
} | ||
], | ||
"wasInterrupted": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = (testResult) => { | ||
return { | ||
"dd_tags[test.invocations]": testResult.invocations, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters