Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
plemarquand committed Feb 7, 2025
1 parent 83901a4 commit 4b421ca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/TestExplorer/TestParsers/XCTestOutputParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,14 @@ export class XCTestOutputParser implements IXCTestOutputParser {
lineNumber: string,
runState: ITestRunState
) {
console.log(
">>>>> START ERROR MESSAGE",
testIndex,
message,
file,
lineNumber,
!!runState.failedTest
);
// If we were already capturing an error record it and start a new one
if (runState.failedTest) {
const location = sourceLocationToVSCodeLocation(
Expand Down Expand Up @@ -407,7 +415,9 @@ export class XCTestOutputParser implements IXCTestOutputParser {
const diff = this.extractDiff(message);
runState.recordIssue(testIndex, message, false, location, diff);
} else {
console.log(">>>>>>>>>> MARKED FAILED TEST WITH NO ATTACHED FAILED TEST >>>>>>>>>>>>>");
console.log(
`>>>>>>>>>> MARKED FAILED TEST WITH NO ATTACHED FAILED TEST ${testIndex} >>>>>>>>>>>>>`
);
runState.recordIssue(testIndex, "Failed", false);
}
runState.completed(testIndex, timing);
Expand Down

0 comments on commit 4b421ca

Please sign in to comment.