History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-36
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Charley Baker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir

guard and add tests for all begin/rescue/blocks

Created: 29/Apr/06 10:57 PM   Updated: 10/Jun/08 02:12 PM
Component/s: Project Support
Affects Version/s: None
Fix Version/s: 1.6.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
we should not have any code that says

begin
...
rescue
end

unless there is an error type after the rescue

in addition we need to make sure that we have a test case that exercises every rescue block.

this is important, because errors in this blocks won't be reported. an unguarded begin/rescue/end block can hide errors
in our code.

Originally reported on Rubyforge: http://rubyforge.org/tracker/index.php?func=detail&aid=1450&group_id=104&atid=1999


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.