<?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: Got That Olde Thyme TDD Religion</title>
	<atom:link href="http://www.littlehart.net/atthekeyboard/2009/03/13/got-that-olde-thyme-tdd-religion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littlehart.net/atthekeyboard/2009/03/13/got-that-olde-thyme-tdd-religion/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
	<description>Facebook should&#039;ve be written in unicornSchemaLang, because everyone *knows* that PHP is no good for anything, right?</description>
	<lastBuildDate>Wed, 17 Mar 2010 16:29:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
		<item>
		<title>By: Travis Swicegood</title>
		<link>http://www.littlehart.net/atthekeyboard/2009/03/13/got-that-olde-thyme-tdd-religion/comment-page-1/#comment-11657</link>
		<dc:creator>Travis Swicegood</dc:creator>
		<pubDate>Sun, 22 Mar 2009 23:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=444#comment-11657</guid>
		<description>Putting in switches to change whether you actually hit the webservice?  That sounds like &lt;a href=&quot;http://xunitpatterns.com/Test%20Logic%20in%20Production.html&quot; rel=&quot;nofollow&quot;&gt;test logic in production&lt;/a&gt; to me and is something you want to avoid if you can help it.  Think in terms of Mock Objects and places that you can pass those in instead of hard coding calls to the web services.  It&#039;ll make your life a lot easier down the road :-)

And MWOP&#039;s right, you can run your tests from within Vim pretty easily.  Of course, if you were running SimpleTest, it handles it w/o the overhead of extra methods... ;-)</description>
		<content:encoded><![CDATA[<p>Putting in switches to change whether you actually hit the webservice?  That sounds like <a href="http://xunitpatterns.com/Test%20Logic%20in%20Production.html" rel="nofollow">test logic in production</a> to me and is something you want to avoid if you can help it.  Think in terms of Mock Objects and places that you can pass those in instead of hard coding calls to the web services.  It&#8217;ll make your life a lot easier down the road <img src='http://www.littlehart.net/atthekeyboard/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>And MWOP&#8217;s right, you can run your tests from within Vim pretty easily.  Of course, if you were running SimpleTest, it handles it w/o the overhead of extra methods&#8230; <img src='http://www.littlehart.net/atthekeyboard/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Weier O'Phinney</title>
		<link>http://www.littlehart.net/atthekeyboard/2009/03/13/got-that-olde-thyme-tdd-religion/comment-page-1/#comment-11532</link>
		<dc:creator>Matthew Weier O'Phinney</dc:creator>
		<pubDate>Sat, 14 Mar 2009 14:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=444#comment-11532</guid>
		<description>By &quot;One True Editor&quot;, I&#039;m assuming you mean vim? Using PHPUnit, you can setup your tests to be self-executable -- i.e., you can execute the file through the PHP binary, and it will run the test. It requires adding a conditional before and after the class declaration, and adding a static method for running the test runner, but it&#039;s pretty trivial. I&#039;ve then bound -M (vim&#039;s &quot;make&quot; macro) to execute &quot;php %&quot; for the PHP filetype -- which then executes the test. I then split panes, and have one pane editing the test, and the other the class I&#039;m testing. 

You have my email, I assume -- ping me if you want more details (or I&#039;ll write a blog post).</description>
		<content:encoded><![CDATA[<p>By &#8220;One True Editor&#8221;, I&#8217;m assuming you mean vim? Using PHPUnit, you can setup your tests to be self-executable &#8212; i.e., you can execute the file through the PHP binary, and it will run the test. It requires adding a conditional before and after the class declaration, and adding a static method for running the test runner, but it&#8217;s pretty trivial. I&#8217;ve then bound -M (vim&#8217;s &#8220;make&#8221; macro) to execute &#8220;php %&#8221; for the PHP filetype &#8212; which then executes the test. I then split panes, and have one pane editing the test, and the other the class I&#8217;m testing. </p>
<p>You have my email, I assume &#8212; ping me if you want more details (or I&#8217;ll write a blog post).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->