It's all about the answers!

Ask a question

mstestLogPublisher can't take a directory in filePath?


Xiaoning Dou (653) | asked Apr 29 '10, 4:55 p.m.
I am trying to get MSTest results published to RTC.

According to the definition of mstestLogPublisher
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 junitLogPublisher. Is this a bug in mstestLogPublisher?

One answer



permanent link
Nick Edgar (6.5k711) | answered May 02 '10, 1:19 p.m.
JAZZ DEVELOPER
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.

Your answer


Register or to post 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.