recordFailure not correctly presented in Xcode

func testCustom() {

self.recordFailure(withDescription: "Custom", inFile: originalSourceFilePath, atLine: 15, expected: true)

}


The file and line number of the original source file do not appear in the Xcode test output browser. I have seen this

work in Cumcumberish but they are doing some low level objc class creation that I woulds rather not do. Does this

have to do with whether or not the XCTest is created ar runtime?