On 7/7/06, Adrian Rutter <[EMAIL PROTECTED]> wrote:
In a word, yes. Here is an example of a test.
Could anyone elaborate on this, and maybe give some simple examples? Are
you talking about creating a DSL?
In a word, yes. Here is an example of a test.
login
goto AddMatterDialog do
matter_no "123#{unique}"
matter_name "My Matter#{unique}"
open_date '1/1/2006'
matter_type 'Bankruptcy'
work_group 'Taggart Corporate Division'
professional_in_charge 'Hernandez, Mark'
end
browser_title.should_equal 'View Matter'
I got a lot of ideas from the Systir testing framework, although i ended up not actually using this library. I am also making heavy use of Rspec. Several articles on writing DSLs in Ruby were also helpful.
Bret
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
