Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A CI Server-like system to control WATIR scripts
Ruby Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
public
views
.gitignore
Gemfile
LICENSE
README
driver.rb
manual.rb
metrics.rb
web.rb

README

WATIR Controller

A CI Server Like tool to help run WATIR scripts and consolidate metrics
MAKE SURE TO READ ALL OF THIS README BEFORE STARTING

First, install bundler if you have not yet

  gem install bundler

Next, run bundle

  bundle install

The WATIR Scripts should follow these conventions:
  
1. Use Test::Unit framework
    Remember to use the latest gem for test-unit-full
    Some good notes:
      http://www.slideshare.net/djberg96/new-features-of-test-unit-2x-presentation
      http://test-unit.rubyforge.org/
2. Use a RAKE file to run the test suite
    Scripts should follow test conventions (like unit test) 
3. Use ci_reporter to output the XML files from Test::Unit
    Make sure you use ENV['CI_REPORTS'] = '/path/to/reports/output'
    This will help in the config file

Configuration File:

  The tool depends on a config.yml file like the one in config-template.yml under the example folder

Examples Folder:

  If you are using Windows, there is an example BATCH file so you can use Scheduler

WATIR Controller - Driver Scheduler Entry Point:

  Usage Notes:

    'ruby -rubygems driver.rb'
           
WATIR Controller - Metrics Entry Point: *NOT IMPLEMENTED YET*

  Usage Notes:

    'camping metrics.rb'
    
CONVENTIONS USED

  All your WATIR scripts and suite should be within 'project' folder
  You must use RAKE to kick off the process
Something went wrong with that request. Please try again.