-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
2 issues should be addressed:
- Need a mechanism to create a test case (currently using a lambda) so that test results can be collected and individual tests can be run
- Allow stubs to be created without using a block. Blocks were a cheap way of safely restoring pre-stub values. The test group mechanism can keep track of stubs and de-stub when it exits.
Something along the following lines:
test_group do
stub(Object, :method => :foo, :return => 'bar')
assert Object.foo, :== => 'bar'
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels