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

MSTest to support /testmetadata use instead of solely /testcontainer

    XMLWordPrintable

Details

    Description

      Currently the mstestrunner plugin only supports the /testcontainer: commandline argument for mstest. This quickly falls short when you want to have a project with multiple DLLs and don't want to tweak the build config everytime a new test dll is introduced.

      With Visual Studio and mstest and .vsmdi file can be created. This is an XML file that Visual Studio generates and lets you build test suites. Once you have this file created you can use the /testmetadata: commandline arg to point to the .vsmdi file and not specify the test dlls.

      See http://msdn.microsoft.com/en-us/library/ms182489.aspx for full details on MSTest commandline args.

      Attachments

        Activity

          jetaylor Jeff Taylor created issue -
          nilleb Ivo Bellin Salarin made changes -
          Field Original Value New Value
          Assignee acmarques [ acmarques ] Ivo Bellin Salarin [ nilleb ]
          nilleb Ivo Bellin Salarin made changes -
          Component/s mstestrunner-plugin [ 17461 ]
          Component/s mstest-plugin [ 15619 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145492 ] JNJira + In-Review [ 176362 ]

          People

            nilleb Ivo Bellin Salarin
            jetaylor Jeff Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: