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

Total duration of a test class should include the times for the configuration methods

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The total time for a test class should include the configuration methods.
      Otherwise the total time reported can be quite confusing, because it's much lower than expected.

      E.g. I have on the test overview:

      Class: a.b.c.SmokeTest, Duration: 472 msec

      but when I drill down to the test, I get:
      Test Methods
      testStartup, Duration: 472 msec

      Configuration Methods
      springTestContextPrepareTestInstance, Duration 6 sec 348 msec

        Attachments

          Activity

          kutzi kutzi created issue -
          nullin Nalin Makar made changes -
          Field Original Value New Value
          Assignee nalin_makar [ nalin_makar ] Nalin Makar [ nullin ]
          nullin Nalin Makar made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 149504 ] JNJira + In-Review [ 193155 ]

            People

            Assignee:
            nullin Nalin Makar
            Reporter:
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: