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

Use status of test commands instead of suites to determine UNSTABLE/FAILURE/SUCCESS

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently if any of the test cases fail the build is marked unstable. This patch changes it so that if any of the Selenium assert* methods, in any of the cases in the suite fail the build will be marked as a failure and if any of the Selenium verify* methods, in any of the cases in the suite fail the build will be marked as unstable.

      This change better reflects the differences between an assertion (an unrecoverable error) vs a verification (something isn't quite right but the test can continue).

        Attachments

          Activity

          trcjr trcjr created issue -
          pascal_martin pascal_martin made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : pascal_martin
          Path:
          trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SeleniumhqPublisher.java
          trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SuiteResult.java
          trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/TestResult.java
          trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config.jelly
          trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config.properties
          trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config_fr.properties
          trunk/hudson/plugins/seleniumhq/src/test/java/hudson/plugins/seleniumhq/SeleniumhqPublisherTest.java
          trunk/hudson/plugins/seleniumhq/src/test/resources/hudson/plugins/seleniumhq/testResultWithFailureNoError.html
          http://jenkins-ci.org/commit/32716
          Log:
          Add support for Use status of test commands instead of suites to determine UNSTABLE/FAILURE/SUCCESS
          fix demand http://issues.jenkins-ci.org/browse/JENKINS-6837

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : pascal_martin Path: trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SeleniumhqPublisher.java trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SuiteResult.java trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/TestResult.java trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config.jelly trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config.properties trunk/hudson/plugins/seleniumhq/src/main/resources/hudson/plugins/seleniumhq/SeleniumhqPublisher/config_fr.properties trunk/hudson/plugins/seleniumhq/src/test/java/hudson/plugins/seleniumhq/SeleniumhqPublisherTest.java trunk/hudson/plugins/seleniumhq/src/test/resources/hudson/plugins/seleniumhq/testResultWithFailureNoError.html http://jenkins-ci.org/commit/32716 Log: Add support for Use status of test commands instead of suites to determine UNSTABLE/FAILURE/SUCCESS fix demand http://issues.jenkins-ci.org/browse/JENKINS-6837
          Hide
          pascal_martin pascal_martin added a comment -

          Available in next version 0.3

          A checkbox is available in the adavance property of Publish Selenium Report

          Show
          pascal_martin pascal_martin added a comment - Available in next version 0.3 A checkbox is available in the adavance property of Publish Selenium Report
          pascal_martin pascal_martin made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136932 ] JNJira + In-Review [ 204294 ]

            People

            Assignee:
            pascal_martin pascal_martin
            Reporter:
            trcjr trcjr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: