I caught two different approaches to integrate Selenium to Rails: http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README http://andthennothing.net/archives/2006/02/05/selenium-on-rails It seems that the first makes it easy to right the tests, and the second makes it easy to run them. Am I correct? Any chance of the two hooking up and cross polinating? -- Posted via http://www.ruby-forum.com/.
List Recv wrote:> I caught two different approaches to integrate Selenium to Rails: > http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README > http://andthennothing.net/archives/2006/02/05/selenium-on-rails > > It seems that the first makes it easy to right the tests, and the second > makes it easy to run them. Am I correct?You can use Selenium IDE[1] to write tests for Selenium on Rails, and I think that''s the best option. However, I will probably add pure Ruby test cases as well and will look at the other solutions out there, like Jonathan''s that you mention and Erik''s patch[2]. /Jonas [1] http://andthennothing.net/archives/2006/02/08/selenium-ide [2] http://www.randomhacks.net/articles/2006/02/15/selenium-on-rails-reloaded -- Posted via http://www.ruby-forum.com/.
It would be great to see some work on combining my approach with selenium-on-rails. I think it would be possible to have the best of both worlds, but it may require a bit of creative thinking :). -Jonathan.> > You can use Selenium IDE[1] to write tests for Selenium on Rails, and I > think that''s the best option. However, I will probably add pure Ruby > test cases as well and will look at the other solutions out there, like > Jonathan''s that you mention and Erik''s patch[2]. > > /Jonas-- Posted via http://www.ruby-forum.com/.
I''ve done some more work on this today, so you should be seeing a new version of the plugin out pretty soon which tries to get the best of both worlds. -Jonny. Jonathan Viney wrote:> It would be great to see some work on combining my approach with > selenium-on-rails. I think it would be possible to have the best of both > worlds, but it may require a bit of creative thinking :). > > -Jonathan. > >> >> You can use Selenium IDE[1] to write tests for Selenium on Rails, and I >> think that''s the best option. However, I will probably add pure Ruby >> test cases as well and will look at the other solutions out there, like >> Jonathan''s that you mention and Erik''s patch[2]. >> >> /Jonas-- Posted via http://www.ruby-forum.com/.