<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Workin' on it. &#187; Rake</title>
	<atom:link href="http://jameshalberg.com/tag/rake/feed/" rel="self" type="application/rss+xml" />
	<link>http://jameshalberg.com</link>
	<description></description>
	<lastBuildDate>Mon, 01 Mar 2010 03:02:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='jameshalberg.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d6a237c3e92002b1021b5a1e47cc6c99?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Workin' on it. &#187; Rake</title>
		<link>http://jameshalberg.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jameshalberg.com/osd.xml" title="Workin&#8217; on it." />
	<atom:link rel='hub' href='http://jameshalberg.com/?pushpress=hub'/>
		<item>
		<title>Adding tests to rake</title>
		<link>http://jameshalberg.com/2006/07/14/adding-tests-to-rake/</link>
		<comments>http://jameshalberg.com/2006/07/14/adding-tests-to-rake/#comments</comments>
		<pubDate>Sat, 15 Jul 2006 01:17:45 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Test Driven Development (TDD)]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Rake]]></category>

		<guid isPermaLink="false">https://jameshalberg.wordpress.com/2006/07/14/adding-tests-to-rake/</guid>
		<description><![CDATA[We&#8217;ve developed a few batch applications that live in the same directory structure as the Rails app they&#8217;re intimate with.  So, the lib/foo/test/ contains some tests for the &#8216;foo&#8217; batch app.  lib/bar/test has the ones for &#8216;bar&#8217; etc.
It was kind of annoying to have seperate rake files though &#8211; or worse to need [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jameshalberg.com&blog=160606&post=53&subd=jameshalberg&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve developed a few batch applications that live in the same directory structure as the Rails app they&#8217;re intimate with.  So, the lib/foo/test/ contains some tests for the &#8216;foo&#8217; batch app.  lib/bar/test has the ones for &#8216;bar&#8217; etc.</p>
<p>It was kind of annoying to have seperate rake files though &#8211; or worse to need to execute each of the batch unit tests seperately.</p>
<p>Since the number of tests required is quite small at this point &#8211; they all just live directly under the test dir (not broken out into unit, functional, etc)&#8230;</p>
<blockquote><p>desc &#8216;Test the batch stuff.&#8217;<br />
Rake::TestTask.new(:test) do |t|</p>
<p>t.pattern = &#8216;lib/**/test/*_test.rb&#8217;<br />
t.verbose = true</p>
<p>end</p></blockquote>
<p>Nice and easy <b>again</b>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jameshalberg.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jameshalberg.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jameshalberg.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jameshalberg.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jameshalberg.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jameshalberg.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jameshalberg.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jameshalberg.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jameshalberg.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jameshalberg.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jameshalberg.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jameshalberg.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jameshalberg.com&blog=160606&post=53&subd=jameshalberg&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://jameshalberg.com/2006/07/14/adding-tests-to-rake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jameshalberg</media:title>
		</media:content>
	</item>
	</channel>
</rss>