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

TAP result files are not used for updating Testlink.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: testlink-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 12.04.5 LTS
      Jenkins:1.619
      TestLink:1.9.14
      TestLink Plugin:3.10
    • Similar Issues:

      Description

      Hello:
      My ENV is following:
      Ubuntu 12.04.5 LTS
      Jenkins:1.619
      TestLink:1.9.14
      TestLink Plugin:3.10
      I wanna show test result in testlink by using TAP file . and i'm sure tap file format is right. the TAP Extended Test Results can parse it sucess

      I think maybe i don't understand the testlink in someplace .

      Thanks
      Bonsai

        Attachments

        1. jenkins-output.PNG
          jenkins-output.PNG
          20 kB
        2. jenkins-setting.PNG
          jenkins-setting.PNG
          50 kB
        3. tap extended test results.PNG
          tap extended test results.PNG
          33 kB
        4. testlink-output.PNG
          testlink-output.PNG
          68 kB
        5. testlink-setting.PNG
          testlink-setting.PNG
          48 kB

          Activity

          Hide
          bonsai_y you jiantao added a comment -

          lol... i found the question
          the tap file i used can parsed by TAP Extended Test Results
          but in testlink plugin use the tap4j.jar

          ###java######
          File f = new File("./check_TMC_dir.tap");
          TapConsumer tapConsumer = TapConsumerFactory.makeTap13YamlConsumer();
          TestSet testSet = tapConsumer.load(f);
          System.out.print(testSet.containsNotOk());

          List a = testSet.getTapLines();
          for(int i =0 ;i< testSet.getTapLines().size(); i++)

          { System.out.print(testSet.getTapLines().get(i)); }

          i found the TapElement map is null...
          so maybe i change the tapfile , everything will be ok..

          Show
          bonsai_y you jiantao added a comment - lol... i found the question the tap file i used can parsed by TAP Extended Test Results but in testlink plugin use the tap4j.jar ###java###### File f = new File("./check_TMC_dir.tap"); TapConsumer tapConsumer = TapConsumerFactory.makeTap13YamlConsumer(); TestSet testSet = tapConsumer.load(f); System.out.print(testSet.containsNotOk()); List a = testSet.getTapLines(); for(int i =0 ;i< testSet.getTapLines().size(); i++) { System.out.print(testSet.getTapLines().get(i)); } i found the TapElement map is null... so maybe i change the tapfile , everything will be ok..

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              bonsai_y you jiantao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: