mstestLogPublisher can't take a directory in filePath?
I am trying to get MSTest results published to RTC.
According to the definition ofmstestLogPublisher
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.build.doc/topics/r_mstestlogpublisher.html
The filePath attribute can be a .trx result file or a directory containing .trx files. It works for single .trx file specified as the filePath, but I can't get it working by only passing in the parent folder of multiple .trx files.
Same syntax working forjunitLogPublisher . Is this a bug in mstestLogPublisher ?
According to the definition of
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.build.doc/topics/r_mstestlogpublisher.html
The filePath attribute can be a .trx result file or a directory containing .trx files. It works for single .trx file specified as the filePath, but I can't get it working by only passing in the parent folder of multiple .trx files.
Same syntax working for
One answer
Yes, this is a bug in the mstestLogPublisher, whereby it looks for *.xml files, not *.trx files. See 110710: Unit test log publishers assume .xml file extension and only process first file. Please see that item for a suggested workaround.