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

parse test duration from TAP file for tapTestReport pages

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • tap-plugin
    • None

      Enhance the parser to pull duration from TAP files to fill various elements in the tapTestReport pages that pertain to test run time.

      Similar work to encode test duration has been done in the perl world:http://search.cpan.org/~cgrau/TAP-Formatter-Elapsed-0.02/lib/TAP/Formatter/Elapsed.pm

      Following the example of http://testanything.org/wiki/index.php/TAP_diagnostic_syntax, look for duration in a YAML key on the test called "duration_ms" (or "elapsed_ms", or any other key as long as the key name also expresses the expected unit of measurement.)

          [JENKINS-16647] parse test duration from TAP file for tapTestReport pages

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/tap4j/plugin/model/TapTestResultResult.java
          src/test/java/org/tap4j/plugin/issue16647/TestIssue16647.java
          src/test/java/org/tap4j/plugin/issue16647/package-info.java
          http://jenkins-ci.org/commit/tap-plugin/79e5e611cf1804d5190ee8bd50eac385ef3dd80a
          Log:
          [FIXED JENKINS-16647] Added column for duration ms in test results UI


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/tap4j/plugin/model/TapTestResultResult.java src/test/java/org/tap4j/plugin/issue16647/TestIssue16647.java src/test/java/org/tap4j/plugin/issue16647/package-info.java http://jenkins-ci.org/commit/tap-plugin/79e5e611cf1804d5190ee8bd50eac385ef3dd80a Log: [FIXED JENKINS-16647] Added column for duration ms in test results UI – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

          Fixed in 1.10

          Bruno P. Kinoshita added a comment - Fixed in 1.10

            kinow Bruno P. Kinoshita
            ryepup Ryan Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: