Introduction to Ruby Introduction to WATIR Testing Web Applications
Test Frameworks Test::Unit Demo
Ruby's Test::Unit Framework
Test::Unit is a library of Ruby (just like Watir) It provides a way to organise your code into "tests"
To use Test::Unit in your scripts you ‘require’ it just like you do with Watir:
require 'test/unit' require 'watir'
Test::Unit has built-in methods called “assertions” that help your tests with validation:
'Click Here').exists? )
Web Application Testing in Ruby