When trying to "import" MSTest trx file I get "No reports found for paths: "
Hello
I am trying to import an MSTest trx result file through something like
##teamcity[importData type='mstest\' path='....trx']
Just before that command I do a 'cat' of the path pointing to the .trx file and that does return the trx content, so it does look like the file is there.
Fwiw, the agent log files are attached.
All tips warmly appreciated!
Tx
Peter
Attachment(s):
wrapper.log.zip
teamcity-xmlrpc.log.zip
teamcity-build.log.zip
teamcity-agent.log.zip
Please sign in to leave a comment.
To be correct, there is an extraneous backslash in the orig.post.
What I meant is
##teamcity[importData type='mstest' path='....trx']
Sorry for that
Peter
I did a bit more troubleshooting and the "problem" occurs when the mstest execution that creates the trx file that I want to load is done in a previous build run
In my specific case the tests are run asynchronously, so what I am trying to do is
1. Start a TC build that builds the test dll and then asynchronously starts the test run for that test dll
2. When the async test finished, it starts (through the REST api) a second TC build that does not build anything but should gather all async test results. The way I am trying to set this up is by writing out ##teamcity[importData type='mstest' ... strings. At that point the importData fails, saying
..
...
Can't really get my head around why that would not work, but perhaps someone else can help me out?
Many thanks!
Peter