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

TAP Parser can't handle the output from prove

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: