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

MSTestRunner cannot run without an existing TestResult file

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I want to use MSTestRunner to run unit tests on my build.
      If I specify a Result File Name in the plugin arguments, the build fails with

      Path To MSTest.exe: mstest.exe
      Result file was not found so no action has been taken. file:[obfuscated]/testresults.trx
      FATAL: No test files was found
      Build step 'Run unit tests with MSTest' marked build as failure
      Finished: FAILURE
      

      If however, I do not specify a Result File Name, I am faced with another error:

      Path To MSTest.exe: mstest.exe
      FATAL: Result file name was not specified
      Build step 'Run unit tests with MSTest' marked build as failure
      Finished: FAILURE
      

        Attachments

          Activity

          Hide
          athoma13 Arnaud Thomasse added a comment -

          This was a non-issue due to misunderstood/misleading logging

          Show
          athoma13 Arnaud Thomasse added a comment - This was a non-issue due to misunderstood/misleading logging

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            athoma13 Arnaud Thomasse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: