Status: Open (View Workflow)
Visual Studio 2012 introduced VSTest.Console.exe to replace MSTest.exe.
See here for more information:
For the most part the trx output format is the same, except the class name is no longer in the full assembly reference format. It is now just the class name.
className="Foo.AssemblyName.Namespace.TestClass, Foo.AssemblyName, Version=18.104.22.168, Culture=neutral, PublicKeyToken=0123abcd0123abcd"
Attached is a modified xsl that addresses this difference. Please review and incorporate at your earliest convenience.
- is related to
JENKINS-21424 VsTestRunner plugin: test results are not published
I would be happy if this got fixed, although the attached xsl is good enough to use as a workaround in combination with the "publish junit test result report" post build task.
The "VsTestRunner plugin" does not publish unit test results properly either, so for now the only way to use vstest with jenkins is to script it yourself, it seems.
VSTestRunner plugin supports since 2014/08/31 the publishing of TRX files.
Could you please integrate this XSL and tell us how to pass environment variables (like the ones described in https://github.com/jenkinsci/vstestrunner-plugin/pull/2) to the "Publish MSTest results report" task?
Code changed in jenkins
User: Ivo Bellin Salarin
Merge pull request #3 from iansul/master
JENKINS-19360 - Fix for mstest problems with trx files genereated by vstest.console.exe
I'm facing same issue, but without any classname at all.
Trx, generated by vstest: http://pastebin.com/bXKbZJZ5
JUnitResult has empty <className></className>
mstest transform change