Skip to content

Commit cfc99c9

Browse files
committed
debug
1 parent 821cb5e commit cfc99c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/testResultsSummary.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ export function writeSummary(testResults: MatlabTestFile[][], stats: TestStatist
5555
core.summary
5656
.addHeading('MATLAB Test Results')
5757
.addRaw(header, true)
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 \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`, true)
59-
.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)
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(`<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+
// .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)
6061
.addHeading('All tests', 3)
6162
.addRaw(detailedResults, true)
6263
.write();

0 commit comments

Comments
 (0)