in Rails, Testing

Using Selenium for functional testing in Ruby on Rails

Update: There is now a nice demo of how selenium on rails works.

Jonas Bengtsson has created an initial version of a Selenium plugin for RoR.

I have been using Selenium for a while now and this certainly looks promising. There are some minor details in this release that need to be fixed such as coloring of completed test actions and test cases (mine are not highlighted). A nice addition would be if RadRails supported code completion of selenium actions.

Write a Comment here on the real web

Comment

  1. Thanks Peter! The coloring is done by the Selenium TestRunner and not by the plugin. So you should see coloring of pass/failed checks (actions are not colored).