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

TAP plugin: enable detailed output for TAP with subtests

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I use Jenkis TAP plugin to process output generated by Node.js modules.

      There TAP subtest feature is used quite heavily. Unfortunately, TAP plugin does not provide detailed information on sub-tests and also does not include sub-test count in the total test number.

      I have submitted a pull-request to fix this by introducing a new TAP plugin configuration option: https://github.com/jenkinsci/tap-plugin/pull/9

      Going to attach an example data, where the "Flatten TAP output" feature has been used, to depict the effect on presented result.

        Attachments

          Activity

          Hide
          ajferrigno AJ Ferrigno added a comment -

          I would love to see this feature as well. I have started using this plug-in, and subtests would make the resulting output more readable. However, if we cannot drill into the subtests, the feature is sort of meaningless. I tried checking the "Enable Subtests" checkbox, but that seemed to have no effect.

          Show
          ajferrigno AJ Ferrigno added a comment - I would love to see this feature as well. I have started using this plug-in, and subtests would make the resulting output more readable. However, if we cannot drill into the subtests, the feature is sort of meaningless. I tried checking the "Enable Subtests" checkbox, but that seemed to have no effect.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Tested locally. All looks good. Used the following TAP stream:

          1..2
          ok 1
              1..3
              not ok 1
              ok 2
              ok 3 # TODO
          ok 2
          
          Show
          kinow Bruno P. Kinoshita added a comment - Tested locally. All looks good. Used the following TAP stream: 1..2 ok 1 1..3 not ok 1 ok 2 ok 3 # TODO ok 2
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Two first attachments before enabling the flat option under advanced. Two after that. Looks good. Merging manually now.

          Show
          kinow Bruno P. Kinoshita added a comment - Two first attachments before enabling the flat option under advanced. Two after that. Looks good. Merging manually now.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Merged, tested locally. Looking good!

          Show
          kinow Bruno P. Kinoshita added a comment - Merged, tested locally. Looking good!
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Included in the Wiki release notes for 2.0 https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin

          Thanks Jakub Podlesak

          Show
          kinow Bruno P. Kinoshita added a comment - Included in the Wiki release notes for 2.0 https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin Thanks Jakub Podlesak
          Hide
          kinow Bruno P. Kinoshita added a comment -

          2.0 released

          Show
          kinow Bruno P. Kinoshita added a comment - 2.0 released

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              japod Jakub Podlesak
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: