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

parse test duration from TAP file for tapTestReport pages

XMLWordPrintable

    • 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.)

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

              Created:
              Updated:
              Resolved: