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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • testng-plugin
    • None

      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

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

              Created:
              Updated:
              Resolved: