Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19360

Missing classname when used with reports generated from VSTest.Console.exe

    • Icon: Patch Patch
    • Resolution: Unresolved
    • Icon: Major Major
    • mstest-plugin
    • None

      Visual Studio 2012 introduced VSTest.Console.exe to replace MSTest.exe.

      See here for more information:
      http://msdn.microsoft.com/en-us/library/vstudio/ms182486.aspx

      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.

      MSTest.exe:
      className="Foo.AssemblyName.Namespace.TestClass, Foo.AssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123abcd0123abcd"

      VSTest.Console.exe:
      className="Foo.AssemblyName.Namespace.TestClass"

      Attached is a modified xsl that addresses this difference. Please review and incorporate at your earliest convenience.

          [JENKINS-19360] Missing classname when used with reports generated from VSTest.Console.exe

          mrobinet created issue -
          mrobinet made changes -
          Attachment New: mstest-to-junit.xsl [ 24470 ]
          Glenn V made changes -
          Link New: This issue is related to JENKINS-21424 [ JENKINS-21424 ]
          Ivo Bellin Salarin made changes -
          Assignee Original: acmarques [ acmarques ] New: Ivo Bellin Salarin [ nilleb ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          s g made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150808 ] New: JNJira + In-Review [ 186148 ]
          Wang made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

            nilleb Ivo Bellin Salarin
            mrobinet mrobinet
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: