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

immediately update and show the result of one test case when it completed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It is the design that update and show the test result when all the
      test cases completed. It causes a problem that user must wait long time
      if all the test cases take long time to complete.

      Suggest to update the test result by one test case complete, the flow:

      1. Retrieve the test plan from Testlink
      2. Update and show all the test cases list of the test plan in the "Status" Page, the case status is "Not Run"
      3. Update the "Status" Page when a test case is running, show the expect time and elapsed time, and the progress
      4. Update the "Status" Page when a test case is completed, show the test result "Passed", "Failed", or "Blocked", and the spent time, and link of the tap file/directory
      5. In the test case list table of the "Status" page, it is better add columns of each Testlink build name, to compare the test result of each build

      Case ID Case Name Build #1 Result Build #2 Result Last Build Result progress bar elapsed time

        Attachments

          Activity

          Hide
          yhwang Yinghua Wang added a comment -

          Hi Bruno,

          I read the https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes and understood why in your current implementation the "Status" page or the "TestLink Action" page doesn't shows the runtime result result until iterated all the test cases. It seems that you call addAction() to attach the final test report to the build, it is called "Persistent actions". So it is available after all the test cases completed. To adopt my proposal, it seems that it is needed to add TransientBuildActionFactory to create the temporary action in order to update the test report. I have questions that when the transient action to be renewed or updated, and how to use TransientBuildActionFactory to reach it? What's your comment?

          Show
          yhwang Yinghua Wang added a comment - Hi Bruno, I read the https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes and understood why in your current implementation the "Status" page or the "TestLink Action" page doesn't shows the runtime result result until iterated all the test cases. It seems that you call addAction() to attach the final test report to the build, it is called "Persistent actions". So it is available after all the test cases completed. To adopt my proposal, it seems that it is needed to add TransientBuildActionFactory to create the temporary action in order to update the test report. I have questions that when the transient action to be renewed or updated, and how to use TransientBuildActionFactory to reach it? What's your comment?
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Hi @Yinghua,

          First of all, thanks for investigating further this issue, and reading about Jenkins API.

          I have to admit that I never used TransientBuildActionFactory and can't guess what it does by its name. I'll have to read the javadocs, probably the source code + tests to finally (and hopefully) grok it.

          I'll try to learn about it this weekend and will comment here.

          Thanks!

          Show
          kinow Bruno P. Kinoshita added a comment - Hi @Yinghua, First of all, thanks for investigating further this issue, and reading about Jenkins API. I have to admit that I never used TransientBuildActionFactory and can't guess what it does by its name. I'll have to read the javadocs, probably the source code + tests to finally (and hopefully) grok it. I'll try to learn about it this weekend and will comment here. Thanks!
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Unfortunately I won't be able to release the fix for this issue in the next versions. I'm running short of time and prioritizing bugs or simple features.

          I will have another cycle to work on testlink-plugin in the next weeks, then I'll take from where I left.

          Let me know if you need anything in the meantime, and feel free to bump me to get a status.

          Cheers, Bruno

          Show
          kinow Bruno P. Kinoshita added a comment - Unfortunately I won't be able to release the fix for this issue in the next versions. I'm running short of time and prioritizing bugs or simple features. I will have another cycle to work on testlink-plugin in the next weeks, then I'll take from where I left. Let me know if you need anything in the meantime, and feel free to bump me to get a status. Cheers, Bruno

            People

            Assignee:
            kinow Bruno P. Kinoshita
            Reporter:
            yhwang Yinghua Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: