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

NUnit plugin does not fail build on test-runner error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • nunit-plugin
    • Jenkins ver. 2.89.4
      NUnit Plugin

      When there is an error in unit tests that causes the test runner to crash (running nunit3-console with --process=Separate) the test report does not contain any test cases but reports an error on test-suite level. (see attached report0.xml)

      The nunit-plugin should fail the build if such a report file is found. Currently it seems to silently ignore the error and our build job succeeded although there was a massive bug in one of our tests.

            Unassigned Unassigned
            exomo Kai Bublitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: