<?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>TJ Singleton &#187; autotest</title>
	<atom:link href="http://tjsingleton.name/tag/autotest/feed/" rel="self" type="application/rss+xml" />
	<link>http://tjsingleton.name</link>
	<description>Software Engineer, Baptist Preacher</description>
	<lastBuildDate>Thu, 01 Jul 2010 17:28:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>You Failed. Autotest with a voice.</title>
		<link>http://tjsingleton.name/2009/08/you-failed-autotest-with-a-voice/</link>
		<comments>http://tjsingleton.name/2009/08/you-failed-autotest-with-a-voice/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 22:59:18 +0000</pubDate>
		<dc:creator>TJ Singleton</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[autotest]]></category>
		<category><![CDATA[mac osx]]></category>

		<guid isPermaLink="false">http://tjsingleton.name/?p=43</guid>
		<description><![CDATA[While listening to a talk from Ruby Conf 08, I heard Joe Martinez mention the say command in OS X. I figured I'd pop open my .autotest file and wire it up so it'd give me some motivation for when my specs go red. Here is what I added: Autotest.add_hook :red do &#124;autotest&#124; `say -v [...]]]></description>
			<content:encoded><![CDATA[<p>While listening to <a href="http://rubyconf2008.confreaks.com/better-hacking-with-training-wheels.html">a talk from Ruby Conf 08</a>, I heard <a href="http://jrmiii.com/">Joe Martinez</a> mention the <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/say.1.html"><kbd>say</kbd></a> command in OS X. I figured I'd pop open my .autotest file and wire it up so it'd give me some motivation for when my specs go red. </p>
<p>Here is what I added:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">Autotest.<span style="color:#9900CC;">add_hook</span> <span style="color:#ff3333; font-weight:bold;">:red</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>autotest<span style="color:#006600; font-weight:bold;">|</span>
  <span style="color:#996600;">`say -v &quot;Good News&quot; &quot;You're doing it wrong&quot;`</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tjsingleton.name/2009/08/you-failed-autotest-with-a-voice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
