Generates test report based on https://docs.sonarqube.org/latest/analysis/generic-test/
Functions
processTestResult
processTestResult(testResult: TestsResult): SonarResult
Transforms the test result in a junit compatible test result report
Types
FileType
Definition
1
{| file @(path: String)*: TestCasesType |}
SonarResult
Definition
1
{| testExecutions @(version: 1): FileType |}
TestCasesType
Definition
1
{| testCase @(name: String, duration: Number)*?: { skipped @(message?: String)?: String | Null, error @(message?: String)?: String | Null, failure @(message?: String)?: String | Null } |}