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

MSTestRunner cannot run without an existing TestResult file

XMLWordPrintable

      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
      

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

              Created:
              Updated:
              Resolved: