mstestLogPublisher's filePath attribute can't be a directory
I use RTC2.0.0.2.
Per user manual: attribute filePath ... For mstestLogPublisher, the path to the TRX XML log, or But I find mstestLogPublisher refuses to process TRX file when I set filePath as a path to the directory of TRX file. I have to manually change the extention of MSTest log files from "trx" to "xml". Another question is: when there are multiple TRX files containing failures in the same directory, mstestLogPublisher publishes only one of the TRX files (I set filePath as a path , and I didn't specify "component" for mstestLogPublisher). thanks! |
2 answers
The CPPUnit publisher has the same problem -- it only finds the first file in the directory. :(
|
I can confirm the filtering on XML extensions is a defect. Looking at the code, it should process all files in the directory, though not recursively.
Sorry for the inconvenience. I've filed: 110710: Unit test log publishers assume .xml file extension and only process first file. Let's follow up there. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.