[Wtr-general] Watir on Rails
David Schmidt
davids at tower-mt.com
Thu Sep 7 03:45:53 EDT 2006
Dave,
Very nice!
I notice that your example at http://watir-on-rails.rubyforge.org/ tests
the URL for the local development Rails app on the default port
(http://localhost:3000/). Does your plugin start the web server when
you do the "rake test:watir" or do you have to ensure that the web
server is already running?
David Schmidt
Dave Hoover wrote:
> I have just released a Ruby on Rails Plugin that allows for easy Watir
> testing in Rails. To install the plugin in your Rails project,
> execute
>
> ./script/plugin install svn://rubyforge.org/var/svn/watir-on-rails
>
> You can then use the generator to get you started on writing your
> first Watir on Rails test...
>
> ./script/generate watir SuccessfulLogin
>
> Your Watir tests will live in test/watir and can be executed from Rake
> like this...
>
> rake test:watir
>
> In your Watir tests you will have access to all the standard Rails
> testing conveniences, such as fixtures and ActiveRecord APIs.
>
> More information can be found at http://watir-on-rails.rubyforge.org/
>
> Watir on Rails supports both Watir::IE and Watir::Safari.
>
More information about the Wtr-general
mailing list