Checkout the unit tests from the Watir trunk at www.github.com .
Details at this web page: http://wiki.openqa.org/display/WTR/Building+Watir
For firewatir, run these unit tests: firewatir/unittests/mozilla_all_tests.rb
For watir, run these unit tests: watir/unittests/core_tests.rb
You may need to do "gem install user-choices" first.
New, configurable features have been added to the Watir test suites. These can be enabled using an options.yml in the unittests directory. These procedures work equally for both the Watir and FireWatir unit tests.
In watir/unittests (and firewatir/unittests) there is a file named "options.yml.example". Remove the extension '.example'.
Several options can be set in this file. They will affect all tests executed from the directory (whether singly or as a suite)
You can specify which browser will be used.
This functionality is now part of Watir itself and is described in more detail at Browser.new
By default tests will be run as "regression" which means that tests that are tagged as failing will not be run. Tests can be tagged as "fails_on_ie" or "fails_on"firefox".
This is the opposite of "regression". Only tests that are flagged as failing will be run. This is useful for compatibility testing.
All tests will be run. This is what used to happen before tagging was added.