Q. How do I install watir standalone?
A previous post highlights some ways in which you can install watir from behind a proxy server via the command line.
This approach can be problematic when using authenticated proxy servers. The following file is a simple MSI which will install Watir 1.5.6 with its required dependencies. The pre-requisites for this MSI are:
1. Ruby 1.8.6 installed to c:\ruby
2. Windows XP SP2 (I have not tried this on Windows Vista)
Note: this is not the preferred way of installing Watir and as such I cannot offer any guarantees on its success.
Q. How do I use ci_reporter in my Test::Unit scripts?
A. Use a ci_reporter gem ...
To install the ci_reporter gem on windows:
gem install ci_reporter
If you're using Test::Unit, ensure the ci/reporter/rake/test_unit_loader.rb file is loaded before the test is run. If you're using RSpec, you‘ll need to pass the following arguments to the spec command:
--require GEM_PATH/lib/ci/reporter/rake/rspec_loader --format CI::Reporter::RSpec
You may also want to set the output directory as demonstrated by setting the CI_REPORTS environment variable.
require 'test/unit' require 'ci/reporter/rake/test_unit_loader.rb' require 'watir' ENV["CI_REPORTS"] = 'C:/temp/'