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

xunit results do not show path to the test results

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • xunit-plugin
    • None

      Our build tree is fairly complex as it contains all the code for all parts of the system and allows for different versions of sub-parts (packages) to co-exist.
      We noticed recently that we were missing checking for some java junit tests and a couple of other minor problems with our setup (having files that were not actual junit tests in the test directory) which we fixed and started to see some unit test failures. One of the developers fixed their unit test structure but we were still getting the some of the old errors (but not all). It took a bit of time to diagnose the fact there were two versions of this package (one was older reference package).

      While the xunit test reports do show the namespaces of our code, it would be useful if they also indicated the directory in which they came from.

      What we see is:

      Failed
      
      ui.operatordisplay.controller.TestMonitorController.initializationError (from TestMonitorController)
      
      Error Message
      
      No runnable methods
      
      Stacktrace
      
      java.lang.Exception: No runnable methods
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      
      

      If it added something like:

      From results in file ${WORKSPACE}/trunk/code/ui/reference-version/test_results/TEST-ui.operatordisplay.controller.xml
      

      it would simplify debugging.

      Thanks.

            gbois Gregory Boissinot
            am50em am50em
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: