7 Jan 2009 00:34
[jira] Updated: (JBEHAVE-145) Unit-test runners should decorate Exceptions a bit more clearly
[
http://jira.codehaus.org/browse/JBEHAVE-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Wills updated JBEHAVE-145:
-------------------------------
Attachment: step_in_exception.txt
> Unit-test runners should decorate Exceptions a bit more clearly
> ----------------------------------------------------------------
>
> Key: JBEHAVE-145
> URL: http://jira.codehaus.org/browse/JBEHAVE-145
> Project: JBehave
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: Paul Hammant
> Fix For: 2.2
>
> Attachments: step_in_exception.txt
>
>
> Somewhere deep down in the runScenario logic, you could benefit from a try/catch(Throwable)/wrap-rethrow
> The wrapping exception could add textual information on the step that is failing. Catch throwable
because you're not just catching AssertionErrors, you're catching Selenium timeouts.
--
--
This message is automatically generated by JIRA.
-
(Continue reading)
Very interesting stuff - I'll have a closer look and sniff at weekend.
But looks promising ...
More later!
Cheers
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
RSS Feed