I have a VS2013 project that I'm building with Jenkins. Now I'm trying to 
get running the unit tests to be a part of the build process.

I'm running the tests with the VSTest Runner plugin, and that's working 
fine. But I've not figured out how to publish the results.

Currently, I'm trying the MSTest plugin, but it's only sorta working.

I have the VSTest Runner configured to log results to a trx file, and the 
file shows up in the TestResults directory of the Jenkins workspace, with a 
complicated, unpredictable name.

And I have the MSTest plugin configured to look for TestResults\*.trx - 
which I'm hoping will work for locating the file that the runner generated.

When I look at a build's Test Result, I a red/blue failure/success bar (8 
failures, 66 tests). And I see two grids below. The first is labeled "All 
Failed Tests", and has a row for each failed test. The second is labeled 
"All Tests", and has only one row, with a package of "(root)".

When I try to expand any of the failed tests, (clicking on the blue '+'), 
the row expands to show a pane displaying "HTTP ERROR 404".

So, the questions:


   1. Does the MSTest plugin support vstest.console.exe's trx output?
   2. If so, why am I only getting partial results? 
   3. Is it because I'm not passing the filename correctly? 
   4. If I'm not, how should I pass the filename between the two plugins?
   5. And if the MSTest plugin does not support vstest.console.exe's trx 
   output, what do I do?
   6. Is there some other plugin I should be using? Some other tool?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to