
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cory Schires &#187; Selenium</title>
	<atom:link href="http://coryschires.com/tag/selenium/feed/" rel="self" type="application/rss+xml" />
	<link>http://coryschires.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 14 Feb 2012 22:45:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to equip rails for behavior driven development.</title>
		<link>http://coryschires.com/how-to-equip-rails-for-behavior-driven-development/</link>
		<comments>http://coryschires.com/how-to-equip-rails-for-behavior-driven-development/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 01:29:33 +0000</pubDate>
		<dc:creator>Cory Schires</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[Cucumber]]></category>
		<category><![CDATA[RSpec]]></category>
		<category><![CDATA[Ruby-on-Rails]]></category>
		<category><![CDATA[Selenium]]></category>

		<guid isPermaLink="false">http://coryschires.com/?p=214</guid>
		<description><![CDATA[There's a lot of hype around behavior driven development. Learn how to get your application equipped for the challenge...]]></description>
			<content:encoded><![CDATA[<p>First, you&#8217;re going to need a few gems: cucumber, rspec-rails, rspec, and webrat. Although there are a number of ways you can get these running in your new rails project, the best plan is to set up gem dependencies directly in your application using the handy <span class="code_text">config.gem</span> command. </p>
<p>Just add these lines to <span class="code_text">config/environments/test.rb</span>:</p>
<div class="code_block">
<pre class="brush: ruby;">
		config.gem 'rspec-rails' , :lib => false
		config.gem 'rspec' , :lib => false
		config.gem 'cucumber'
		config.gem 'webrat'
	</pre>
</div>
<p>Next, make sure these gems are installed by typing:</p>
<div class="code_block">
<pre class="brush: plain;">
		RAILS_ENV=test sudo rake gems:install
	</pre>
</div>
<p>Finally, you&#8217;ll need to bootstrap your rails application for development with Cucumber and RSpec. Simply type:</p>
<div class="code_block">
<pre class="brush: plain;">
		script/generate rspec
		script/generate cucumber
	</pre>
</div>
<p>That&#8217;s it. Now you&#8217;re set up for behavior driven development in your rails app.</p>
]]></content:encoded>
			<wfw:commentRss>http://coryschires.com/how-to-equip-rails-for-behavior-driven-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

