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

Unity Test Tools package returns 2 or 3 for failed integration testing.

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: unity3d-plugin
    • Labels:
      None
    • Environment:
      Unity 4.5 and Unity Test Tools 1.4
    • Similar Issues:

      Description

      Unity Test Tools package will produce an exit code of 2 (partial fail) or 3 (all fail) if there are integration test failures. Currently, the plugin treats 2 and 3 as errors and I am hoping they can be setup to mark the build as unstable or to have it as an option.

      The documentation regarding the exit codes of 0, 2, and 3 are available on the 19th page of UnitTestTools>Docs>UnitTestTools-en.pdf.

        Attachments

          Activity

          Hide
          lacostej lacostej added a comment -

          Released as part of v1.0.

          Show
          lacostej lacostej added a comment - Released as part of v1.0.
          Hide
          ramblingcoder Mark McNeely added a comment -

          Hey Lacostej, I can help you test it if you still need it. For some reason the site was inaccessible yesterday so I couldn't respond.

          Show
          ramblingcoder Mark McNeely added a comment - Hey Lacostej, I can help you test it if you still need it. For some reason the site was inaccessible yesterday so I couldn't respond.
          Hide
          lacostej lacostej added a comment -

          Hei Mark, thanks for the help!

          I've added integration tests so it should go reasonably well, but some user feedback from those who requested the feature might help!

          v1.0 was released with the feature. The plugins update site hasn't picked it up yet I think, but you can fetch it from here: http://updates.jenkins-ci.org/download/plugins/unity3d-plugin/

          Show
          lacostej lacostej added a comment - Hei Mark, thanks for the help! I've added integration tests so it should go reasonably well, but some user feedback from those who requested the feature might help! v1.0 was released with the feature. The plugins update site hasn't picked it up yet I think, but you can fetch it from here: http://updates.jenkins-ci.org/download/plugins/unity3d-plugin/
          Hide
          ramblingcoder Mark McNeely added a comment -

          Looks good to me. I used the "unity test tools" tests to try it out.

          With an exit code of 2, I tried the following values for the unstable codes field.
          nothing - fail
          2,3 - unstable
          02,03 - unstable
          4, - fail
          2, - unstable

          It looks like it is working as you'd expect.

          Show
          ramblingcoder Mark McNeely added a comment - Looks good to me. I used the "unity test tools" tests to try it out. With an exit code of 2, I tried the following values for the unstable codes field. nothing - fail 2,3 - unstable 02,03 - unstable 4, - fail 2, - unstable It looks like it is working as you'd expect.
          Hide
          ramblingcoder Mark McNeely added a comment -

          Thank you for completing this request. I appreciate the addition to the plugin.

          Show
          ramblingcoder Mark McNeely added a comment - Thank you for completing this request. I appreciate the addition to the plugin.

            People

            • Assignee:
              lacostej lacostej
              Reporter:
              ramblingcoder Mark McNeely
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: