verify, assert, assert_nil?

9 views
Skip to first unread message

GJHmf

unread,
Sep 20, 2010, 9:41:26 AM9/20/10
to Vapir
Hi all,

Eager to try out Vapir, rather than plug away at Watir 1.6.2 on Ruby
186-26 (needed for click_no_wait functionality), I thought I'd give
Vapir a try; and was pleasantly pleased that this area was covered
while using Ruby 1.8.7. However, I have come across one area of issue
that I couldn't see answered anywhere.

How are watir/testcase methods catered for in Vapir? Such methods as
verify, assert and assert_nil.

Thanks,


GJHmf

Ethan

unread,
Sep 20, 2010, 11:28:37 AM9/20/10
to va...@googlegroups.com
things like assert and assert_nil are methods of Test::Unit (and other similar test frameworks), which is outside the scope of vapir. Test::Unit is a good framework to use for your testing, and it's perfectly good to use vapir within that framework, or within most any other ruby testing framework. 

Other frameworks worth looking into are rspec, minitest, or cucumber. 
Reply all
Reply to author
Forward
0 new messages