From: Ryan Leavengood Date: 2005-11-03T01:27:22+09:00 Subject: Re: TeSLa, a Domain Specific Language for Unit Testing On 11/1/05, obscured by code wrote: > > test_method :add_item => [:item4] do > requires {@items = [:item1, :item2, :item3]} > assert {size == 4} > end ... > Again, I'm very open to suggestions. What about: test_method :add_item => [:item4] do before {@items = [:item1, :item2, :item3]} after {size == 4} end Or variations thereof. Ryan