# \[ANN\] Selenium RC Fu (plus js unit)

**URL:** <https://www.ruby-forum.com/t/ann-selenium-rc-fu-plus-js-unit/106485>\
**Category:** Rails\
**Created:** [June 11, 2007, 6:29am UTC](https://www.ruby-forum.com/t/ann-selenium-rc-fu-plus-js-unit/106485 "2007-06-11T06:29:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parker\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eada6e/32.png) [@Parker\_T](https://www.ruby-forum.com/u/Parker_T)\
**Post date:** [June 11, 2007, 6:29am UTC](https://www.ruby-forum.com/t/ann-selenium-rc-fu-plus-js-unit/106485/1 "2007-06-11T06:29:49Z")

</div>

We’ve been threatening to open source this for a while, most recently  
during Alex and Brian’s talk at Railsconf [1]. See the readme [2]  
for more info, and the source/rdocs for all the gory details.  
Feedback and contributions are very welcome.

Thanks,

pt.

[1]

> **[Full-stack webapp testing with Selenium and Rails](https://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails)**
>
> Full-stack webapp testing with Selenium and Rails - Download as a PDF or view online for free

[2]  
== Introduction

Welcome to Selenium RC Fu!

This plugin is designed to let you use Selenium RC to write Selenium  
tests in Ruby, using a simple series of Rake tasks.

== Installation

The current version of this plugin can be found at:  
[http://rubyforge.org/var/svn/pivotalrb/seleniumrc\_fu/trunk](http://rubyforge.org/var/svn/pivotalrb/seleniumrc_fu/trunk)

You may install the plugin with the following command:

script/plugin install  
svn://rubyforge.org/var/svn/pivotalrb/seleniumrc\_fu/trunk

== Usage  
The seleniumrc\_fu plugin assumes you have a test/selenium directory  
with a selenium\_suite.rb file in  
it. A sample selenium\_suite.rb and selenium\_helper.rb can be copied  
into your test/selenium directory.

You’ll get the following tasks:

- selenium:test - starts a Selenium RC server, runs selenium tests,  
and shuts the server down  
when they’re done

and lower level tasks as well:

- selenium:server starts up a Selenium RC server
- selenium:test\_with\_server\_started runs Selenium tests off of an  
existing server

== Oh Yeah…  
We’ve got JsUnit support as well!

Check out this site for more information:  
[http://www.jsunit.net/](http://www.jsunit.net/)

There’s a series of jsunit:xxx rake tasks devoted to running JsUnit  
distributed server tests from Ruby.

== Future Enhancements

There are a few things we’d like to improve, but we wanted to get this  
out now. Check the tracker in the pivotal.rb RubyForge project for  
details.

== License

Selenium RC Fu is distributed under the MIT license. Copyright (c)  
2007 Pivotal Labs, Inc.

== Contributing

Contributions to this plugin are welcome. Contributions should be  
accompanied by tests, and should be sent to  
removed\_email\_address@domain.invalid.
