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

TAP Parser can't handle the output from prove

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: tap-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      in perl, you can produce TAP by doing:

      prove -wlvm t/*.t > TAP.out

      This produces multiple TAP outputs in a single file.

      The error I get is:

      Caused by: org.tap4j.parser.ParserException: Duplicated TAP Plan found.
      	at org.tap4j.parser.Tap13YamlParser.checkTAPPlanDuplicity(Tap13YamlParser.java:345)
      	at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:257)
      	at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597)
      	... 12 more
      

      It would be nice if TAP Parser could parse the multiple TAP outputs in a single file.

      I can provide example output if you would like.

        Attachments

          Activity

          toddr Todd Rinaldo created issue -
          toddr Todd Rinaldo made changes -
          Field Original Value New Value
          Description in perl, you can produce TAP by doing:

          {code}prove -wlvm t/*.t > TAP.out{code} This produces multiple TAP outputs in a single file.

          It would be nice if TAP Parser could parse the multiple TAP outputs in a single file.

          I can provide example output if you would like.
          in perl, you can produce TAP by doing:

          {code}prove -wlvm t/*.t > TAP.out{code} This produces multiple TAP outputs in a single file.

          The error I get is:
          {code}
          Caused by: org.tap4j.parser.ParserException: Duplicated TAP Plan found.
          at org.tap4j.parser.Tap13YamlParser.checkTAPPlanDuplicity(Tap13YamlParser.java:345)
          at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:257)
          at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597)
          ... 12 more
          {code}

          It would be nice if TAP Parser could parse the multiple TAP outputs in a single file.

          I can provide example output if you would like.

          kinow Bruno P. Kinoshita made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          kinow Bruno P. Kinoshita made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          kinow Bruno P. Kinoshita made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          kinow Bruno P. Kinoshita made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147140 ] JNJira + In-Review [ 206325 ]

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              toddr Todd Rinaldo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: