<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Running Selenium RSpec tests for Rails 2.3.5</title>
	<atom:link href="http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/</link>
	<description></description>
	<lastBuildDate>Thu, 02 Sep 2010 19:51:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Sean Grove</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-704</link>
		<dc:creator>Sean Grove</dc:creator>
		<pubDate>Tue, 30 Mar 2010 19:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-704</guid>
		<description>I&#039;m glad you like it Alok! If you have any questions on running SpecStorm, please feel free to post them on our forums at http://www.saucelabs.com/forums. I&#039;m more than happy to help others using it!</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you like it Alok! If you have any questions on running SpecStorm, please feel free to post them on our forums at <a href="http://www.saucelabs.com/forums" rel="nofollow">http://www.saucelabs.com/forums</a>. I&#8217;m more than happy to help others using it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok Swain</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-691</link>
		<dc:creator>Alok Swain</dc:creator>
		<pubDate>Tue, 30 Mar 2010 10:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-691</guid>
		<description>Very nice Tutorial.
Its working fine. Now i gonna try specstorm.
Regards
Alok S
Consultant, Spritle Software.</description>
		<content:encoded><![CDATA[<p>Very nice Tutorial.<br />
Its working fine. Now i gonna try specstorm.<br />
Regards<br />
Alok S<br />
Consultant, Spritle Software.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Grove</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-527</link>
		<dc:creator>Sean Grove</dc:creator>
		<pubDate>Wed, 10 Mar 2010 09:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-527</guid>
		<description>Hello Matt - there was an error on line 06 of of people_spec.rb. Check the updated source above. Instead of @selenium_driver, it should be @browser.

Thanks for catching that! Please let me know if that works for you, and if there&#039;s any other issue that comes up.

And good question about grafting tests onto pre-existing rails models. For RSpec unit tests where you&#039;re familiar with the inner-workings of the code, you&#039;ll want to add in tests for each of the methods of your models, and then move onto functional/integration tests. If you&#039;re new to the code, it often works better the other way around. Get a bird&#039;s-eye view of the code by looking at its function and verifying the application as a whole, and work your way into the nitty-gritty with unit tests.

It&#039;s an interesting question, I think I&#039;ll have to follow up with a few posts on that.</description>
		<content:encoded><![CDATA[<p>Hello Matt &#8211; there was an error on line 06 of of people_spec.rb. Check the updated source above. Instead of @selenium_driver, it should be @browser.</p>
<p>Thanks for catching that! Please let me know if that works for you, and if there&#8217;s any other issue that comes up.</p>
<p>And good question about grafting tests onto pre-existing rails models. For RSpec unit tests where you&#8217;re familiar with the inner-workings of the code, you&#8217;ll want to add in tests for each of the methods of your models, and then move onto functional/integration tests. If you&#8217;re new to the code, it often works better the other way around. Get a bird&#8217;s-eye view of the code by looking at its function and verifying the application as a whole, and work your way into the nitty-gritty with unit tests.</p>
<p>It&#8217;s an interesting question, I think I&#8217;ll have to follow up with a few posts on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://saucelabs.com/blog/index.php/2010/02/running-selenium-tests-for-rails/comment-page-1/#comment-512</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 07 Mar 2010 21:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://saucelabs.com/blog/?p=349#comment-512</guid>
		<description>Hi,

Thanks for this tutorial.  I&#039;m almost there, but I&#039;m getting this error when I try to run &#039;rake spec:integration&#039; 

1)
NoMethodError in &#039;People before(:all)&#039;
undefined method `start&#039; for nil:NilClass
/home/matt/Projects/rspec_saucerc/spec/integration/people_spec.rb:13:in `block (2 levels) in &#039;

Finished in 0.005840741 seconds

0 examples, 1 failure

I didn&#039;t do the generate/plugin step.  Instead I just did &#039;gem install selenium-rails&#039;.  Here is my list of installed gems:

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
gemcutter (0.5.0)
hoe (2.5.0)
json_pure (1.2.2)
mocha (0.9.8)
mysql (2.8.1)
rack (1.1.0, 1.0.1)
rails (2.3.5)
rake (0.8.7)
RedCloth (4.2.3)
rspec (1.3.0)
rspec-rails (1.3.2)
rubyforge (2.0.4)
rubygems-update (1.3.6)
Selenium (1.1.14)
selenium-client (1.2.18)
selenium-rails (0.0.3)
sqlite3-ruby (1.2.5)
test-unit (1.2.3)

Sorry if I&#039;m missing something obvious.  I&#039;m still getting started with all this.  Also, if I already have several models, controllers, views, etc. created using the normal rails scaffold, what is the best approach to go back and add rspec tests?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this tutorial.  I&#8217;m almost there, but I&#8217;m getting this error when I try to run &#8216;rake spec:integration&#8217; </p>
<p>1)<br />
NoMethodError in &#8216;People before(:all)&#8217;<br />
undefined method `start&#8217; for nil:NilClass<br />
/home/matt/Projects/rspec_saucerc/spec/integration/people_spec.rb:13:in `block (2 levels) in &#8216;</p>
<p>Finished in 0.005840741 seconds</p>
<p>0 examples, 1 failure</p>
<p>I didn&#8217;t do the generate/plugin step.  Instead I just did &#8216;gem install selenium-rails&#8217;.  Here is my list of installed gems:</p>
<p>actionmailer (2.3.5)<br />
actionpack (2.3.5)<br />
activerecord (2.3.5)<br />
activeresource (2.3.5)<br />
activesupport (2.3.5)<br />
gemcutter (0.5.0)<br />
hoe (2.5.0)<br />
json_pure (1.2.2)<br />
mocha (0.9.8)<br />
mysql (2.8.1)<br />
rack (1.1.0, 1.0.1)<br />
rails (2.3.5)<br />
rake (0.8.7)<br />
RedCloth (4.2.3)<br />
rspec (1.3.0)<br />
rspec-rails (1.3.2)<br />
rubyforge (2.0.4)<br />
rubygems-update (1.3.6)<br />
Selenium (1.1.14)<br />
selenium-client (1.2.18)<br />
selenium-rails (0.0.3)<br />
sqlite3-ruby (1.2.5)<br />
test-unit (1.2.3)</p>
<p>Sorry if I&#8217;m missing something obvious.  I&#8217;m still getting started with all this.  Also, if I already have several models, controllers, views, etc. created using the normal rails scaffold, what is the best approach to go back and add rspec tests?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
