I have been using Rspec stories with Webrat feeling very productive and
happy.
Then I needed to do something with Selenium (Webrat could have done what
I needed but it does not yet have the functionality).
Selenium-core as part of a rails plugin looked nice but did not seem to
fit with rspec
I've had really iffy luck with Selenium plugins in the past
(selenium-on-rails, seleniumfu_rc, selenium_rc, etc.) so I've started to
write a RailsSeleniumStory. I also had to remove the
ActiveRecordSafetyListener in my efforts.
The RailsSeleniumStory is a part of the mhs_testing plugin [0] and it
Just an FYI - spec-ui, an rspec extension that supports integration
with selenium and watir, has been under some discussion lately and
should see some new life soon.
On May 8, 2008, at 10:10 AM, Zach Dennis wrote:
I've had really iffy luck with Selenium plugins in the past
I should explain I'm running the tests from textmate.
So for those interested in doing the same I changed the Run Examples
command in the RSpec bundle to:
#!/usr/bin/env ruby
require ENV['TM_BUNDLE_SUPPORT'] + /lib/spec/mate
require 'spec/runner/formatter/html_formatter'
module
I have a case where I'm loading fixtures and a row added to a table in a
spec is around at the start of all subsequent specs.
When I set config.use_transactional_fixtures = false the fixtures load/clear
as expected.
Any ideas?
___
rspec-users mailing
David,
Can you provide any more info? Is it just being talked about or are people
actively working on it now? I would be interested in assisting. I've done a
lot with Selenium and the ruby driver and would be interested in providing
beautiful high level helpers that allow people switch from
A controller I'm trying to test simply delivers a text string to the
client, which then demarshalls it to retrieve some objects. I want to
test that the returned string is correct.
I don't want to compare the string character-by-character with
response.has_text because that ties me to the
On May 8, 2008, at 5:26 PM, Mark Wilden wrote:
A controller I'm trying to test simply delivers a text string to the
client, which then demarshalls it to retrieve some objects. I want
to test that the returned string is correct.
I don't want to compare the string character-by-character with
On May 8, 2008, at 5:24 PM, Zach Dennis wrote:
David,
Can you provide any more info? Is it just being talked about or are
people actively working on it now? I would be interested in
assisting. I've done a lot with Selenium and the ruby driver and
would be interested in providing