Ruby on Rails Sunday, January 29, 2012

Hello all,

I want to use Selenium (not capybara, I like the Selenium syntax
better) for some of my integration tests, and Selenium needs a full-
stack HTTP server to test against. How can I start the full-stack
server during integration tests so I have a url to give to Selenium?

Also, eventually I will want to run the same tests against a staging
server. What's the best way to change a single parameter (the url) but
keep everything else about the tests constant?

Cheers,
Shea Levy

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment