ChrisInCambo / jsspec_ci
JSSpec command line runner made possible by Selenium remote control. Allows JSSpec suites to be easily run on multiple platforms and multiple browsers as part of a continuous integration process.
Clone this repository (size: 1.6 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/ChrisInCambo/jsspec_ci/
JSSpec CI
The program uses selenium remote control to get browsers on a selenium client to access a JSSpec spec runner via http. The Program then analyses the html and outputs the results to the spec console.
Usage
It's as simple as one, two, three
- Install and run selenium on a machine with the browsers and o/s combo you would like to test:
sudo gem install Selenium selenium
- Allow access via http to your html spec runner:
cd /path/to/jspec_ci/JSSpec python -m SimpleHTTPServer
- Run jsspec_ci:
cd /path/to/jsspec_ci ruby jsspec_ci.rb 'http://localhost:8000/demo.html' 'http://localhost:4444' 'opera, firefox'
Notes
The current version of Selenium (1.1.14) has problems launching Firefox 3, a quick google will find many workarounds to this problem.
Details
Author: Chris Brown (mailto:chrisincambo@gmail.com) Copyright: Copyright (c) 2009 Chris Brown License: Distributes under the same terms as Ruby
