<?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>Negative Margins &#187; phpunit kicker osx ruby</title>
	<atom:link href="http://www.negativemargins.com/tag/phpunit-kicker-osx-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.negativemargins.com</link>
	<description>Adventures in css, javascript, and all things web</description>
	<lastBuildDate>Wed, 09 Feb 2011 20:41:47 +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>Automatically run phpunit tests with Kicker on OS X</title>
		<link>http://www.negativemargins.com/2010/05/02/automaticlly-run-phpunit-tests/</link>
		<comments>http://www.negativemargins.com/2010/05/02/automaticlly-run-phpunit-tests/#comments</comments>
		<pubDate>Mon, 03 May 2010 00:34:43 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[phpunit kicker osx ruby]]></category>

		<guid isPermaLink="false">http://www.negativemargins.com/?p=22</guid>
		<description><![CDATA[Here's a quick tutorial on how to use Kicker to automatically run PHPUnit tests on OS X. Kicker uses OS X's filesystem events to automatically run a command after a target directory or file is changed. Better yet, after the command is run it will Growl the results for you! First, install Kicker: sudo gem [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a quick tutorial on how to use <a title="Kicker" href="http://github.com/alloy/kicker">Kicker</a> to automatically run <a title="PHPUnit" href="http://www.phpunit.de/">PHPUnit</a> tests on OS X. Kicker uses OS X's filesystem events to automatically run a command after a target directory or file is changed. Better yet, after the command is run it will Growl the results for you!</p>
<ol>
<li>First, install Kicker: <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">sudo gem install kicker</span></li>
<li>Next, switch to your tests directory</li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">kicker -e "phpunit Bundle/SomeBundle" Bundle/SomeBundle/ ../src/Bundle/SomeBundle/</span></li>
</ol>
<p>The Kicker command structure is the command to be executed, followed by the directories or files to be watched. In my example, the tests in the SomeBundle directory are run and if any file in the test directory or the src directory are changed the tests are run. When phpunit finishes running a growl notification will be made. Using the Growl control panel, you can change the types of growls that are produced on either successful or failed tests. I like the Music Video display style.</p>
<p>Special thanks to my coworker <a href="http://justinhileman.info">Justin</a> for pointing this out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.negativemargins.com/2010/05/02/automaticlly-run-phpunit-tests/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

