-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fbe8ec
commit bc76bbe
Showing
3 changed files
with
25 additions
and
24 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 |
---|---|---|
@@ -1,23 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testExecutions version="1"> | ||
<file path="tests/lib/SonarReporter.spec.ts"> | ||
<testCase name="SonarReporter onTestResult should add test results to testFileResults" duration="1" /> | ||
<testCase name="SonarReporter onRunComplete should write XML file with test results" duration="1" /> | ||
<testCase name="SonarReporter onRunComplete should use default output file if not provided - skipped" duration="0"> | ||
<skipped message="SonarReporter onRunComplete should use default output file if not provided - skipped"/> | ||
<file path="tests/lib/SonarReporter.spec.ts"> | ||
<testCase name="SonarReporter onTestResult should add test results to testFileResults" duration="0.001" /> | ||
<testCase name="SonarReporter onRunComplete should write XML file with test results" duration="0.001" /> | ||
<testCase name="SonarReporter onRunComplete should use default output file if not provided - skipped" duration="0" > | ||
<skipped/> | ||
</testCase> | ||
<testCase name="SonarReporter onRunComplete should use default output file if not provided" duration="0" /> | ||
<testCase name="SonarReporter onRunComplete should use provided output file" duration="1" /> | ||
</file> | ||
<file path="tests/helpers/utils.spec.ts"> | ||
<testCase name="createFile function should create file with given data" duration="0" /> | ||
<testCase name="createFile function should handle error when writing file" duration="1" /> | ||
<testCase name="generateXML generates correct XML with test cases of different statuses" duration="0" /> | ||
<testCase name="generateXML generates correct XML with test cases of 0 duration" duration="1" /> | ||
<testCase name="SonarReporter onRunComplete should use provided output file" duration="0.001" /> | ||
</file> | ||
<file path="tests/helpers/utils.spec.ts"> | ||
<testCase name="createFile function should create file with given data" duration="0.001" /> | ||
<testCase name="createFile function should handle error when writing file" duration="0" /> | ||
<testCase name="generateXML generates correct XML with test cases of different statuses" duration="0.001" /> | ||
<testCase name="generateXML generates correct XML with test cases of 0 duration" duration="0" /> | ||
<testCase name="generateXML handles empty testFileResults map" duration="0" /> | ||
<testCase name="generateXML handles empty path" duration="0" /> | ||
<testCase name="getRelativePath generates relative path correctly" duration="0" /> | ||
<testCase name="getRelativePath handles "process.cwd()" in path" duration="0" /> | ||
<testCase name="getRelativePath handles empty input string" duration="1" /> | ||
<testCase name="getRelativePath handles 'process.cwd()' in path" duration="0" /> | ||
<testCase name="getRelativePath handles empty input string" duration="0" /> | ||
<testCase name="getRelativePath handles empty basePath" duration="0" /> | ||
</file> | ||
</testExecutions> | ||
</file> | ||
</testExecutions> |
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