You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/testResultsSummary.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,9 @@ export function writeSummary(testResults: MatlabTestFile[][], stats: TestStatist
56
56
.addHeading('MATLAB Test Results')
57
57
.addRaw(header,true)
58
58
.addRaw(`<b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n abc 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43`,true)
59
+
.addRaw(formatDiagnosticReport(`<b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n abc 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43`),true)
59
60
.addRaw(`<pre>Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</pre>`,true)
61
+
.addRaw(formatDiagnosticReport(`<pre>Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</pre>`),true)
60
62
// .addRaw(`<table><tr><td><b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</td></tr></table>`, true)
61
63
.addHeading('All tests',3)
62
64
.addRaw(detailedResults,true)
@@ -124,8 +126,8 @@ function generateTestCaseRow(testCase: MatlabTestCase): string {
0 commit comments