• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • tap-plugin
    • None

      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.

          [JENKINS-16325] TAP Parser can't handle the output from prove

          Todd Rinaldo created issue -
          Todd Rinaldo made changes -
          Description Original: 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.
          New: 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.

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

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

              Created:
              Updated:
              Resolved: