Fail test if no tests ran

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: xunit-plugin
    • None
    • Environment:
      Jenkins + xunit latest and greatest

      I have a test application that exited with error code 0 (which was wrong and is fixed now). It did not run any tests and created the attached Junit report basically stating that 0 tests ran, 0 tests passed and 0 tests failed.

      I would suggest to set the verdict of the test to at least unstable or give the possibility to configure that at least 1 test has to be executed and otherwise fail the job.

            Assignee:
            Nikolas Falco
            Reporter:
            Dirk Kuypers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: