db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6401) Create a test option to stop running Junit tests after first failure or error
Date Fri, 01 Nov 2013 17:27:17 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kathey Marsden updated DERBY-6401:
----------------------------------

    Attachment: derby-6401_diff.txt

Here is a patch that makes this change.  It is a bit hokey the way it just abruptly exits
in BaseTestCase.runBare().  I suppose the cleaner way  to do it is to make a TestRunner to
extend junit.textui.TestRunner,   but that would not be something I could check in.  Anyway,
please review and let me know if you object to this change or see a better way.  I noticed
the ant task for junit has a haltonerror and haltonfailure attributes but don't see anything
for the junit.textui.TestRunner



> Create a test option to stop running Junit tests after first failure or error
> -----------------------------------------------------------------------------
>
>                 Key: DERBY-6401
>                 URL: https://issues.apache.org/jira/browse/DERBY-6401
>             Project: Derby
>          Issue Type: Improvement
>            Reporter: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-6401_diff.txt
>
>
> Sometimes when debugging issues, it would be convenient to have the tests stop after
the first failure or error. Add System property option derby.tests.stopAfterFirstFail to do
this.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message