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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nalin Makar
          Path:
          README
          src/main/java/hudson/plugins/testng/results/ClassResult.java
          http://jenkins-ci.org/commit/testng-plugin-plugin/36353999cbb71e5859a223f023a2e8d46b822cf7
          Log:
          Fixed: JENKINS-18206 - Total duration of a test class should include the times for the configuration methods

          Compare: https://github.com/jenkinsci/testng-plugin-plugin/compare/e79c42e007fd...36353999cbb7

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nalin Makar Path: README src/main/java/hudson/plugins/testng/results/ClassResult.java http://jenkins-ci.org/commit/testng-plugin-plugin/36353999cbb71e5859a223f023a2e8d46b822cf7 Log: Fixed: JENKINS-18206 - Total duration of a test class should include the times for the configuration methods Compare: https://github.com/jenkinsci/testng-plugin-plugin/compare/e79c42e007fd...36353999cbb7
          Hide
          nullin Nalin Makar added a comment -

          in v1.2

          Show
          nullin Nalin Makar added a comment - in v1.2

            People

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

              Dates

              Created:
              Updated:
              Resolved: