<?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>class BrianYamabe extends Journeyman implements SoftwareDeveloper { &#187; BDD/TDD</title>
	<atom:link href="http://brianyamabe.com/category/bddtdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://brianyamabe.com</link>
	<description>public Blog documentDevelopment(Passion passion) {</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:55:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>BDD an iPhone App?</title>
		<link>http://brianyamabe.com/2010/06/04/bdd-an-iphone-app/</link>
		<comments>http://brianyamabe.com/2010/06/04/bdd-an-iphone-app/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 15:50:21 +0000</pubDate>
		<dc:creator>byamabe</dc:creator>
				<category><![CDATA[BDD/TDD]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://brianyamabe.com/?p=77</guid>
		<description><![CDATA[I read an article on the state of testing in Cocoa. The author, Alex Vollmer, paints a pretty dismal picture of BDD in Cocoa community and I&#8217;d have to agree with him. In my decision to use Ruby over Python for my web apps, I mentioned that BDD (Cucumber and RSpec) and the Ruby testing [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I<span style="font-family: Helvetica;"> read an <a href="http://alexvollmer.com/posts/2010/06/01/cocoas-broken-tests/">article</a> on the state of testing in Cocoa. The author, Alex Vollmer, paints a pretty dismal picture of BDD in Cocoa community and I&#8217;d have to agree with him. In my decision to use Ruby over Python for my web apps, I <a href="http://brianyamabe.com/2010/01/01/add-or-a-better-way/">mentioned</a> that BDD (Cucumber and RSpec) and the Ruby testing culture was a major reason I went with Ruby. I would really love to see that aspect come over to the Cocoa community. Alex believes that snobbery and elitism are dominant attitudes that prevent the community from adopting testing practices from other environments. I haven&#8217;t dealt with the Cocoa community at large, so I can&#8217;t comment on the snobbery and elitism, but I do know that XCode and the various Cocoa frameworks didn&#8217;t grow up in a BDD world and the fact that the community didn&#8217;t grow up with BDD, like Ruby and Rails, makes it a lot harder to inject.</span></p>
<p><span style="font-family: Helvetica;">I know there&#8217;s been some work to use Cucumber with the Simulator, but that requires you to drop out of Xcode. I&#8217;ve gone down this path before, I don&#8217;t want to switch between editors and shells for my development environment. I want to see Cucumber and RSpec equivalents that can be run from within XCode. For me, it was running those two in combination while going through <span style="border-collapse: collapse; line-height: 12px;"><a href="http://www.amazon.com/gp/product/1934356379?ie=UTF8&amp;tag=yamabe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1934356379">The RSpec Book</a> that ﻿was <a href="http://brianyamabe.com/2010/01/22/the-joy-of-refactoring-in-the-green/">my aha moment</a> for BDD and I th<span style="font-size: 12px;">ink it would be the same for the entire Cocoa community.</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://brianyamabe.com/2010/06/04/bdd-an-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Joy of Refactoring in the Green</title>
		<link>http://brianyamabe.com/2010/01/22/the-joy-of-refactoring-in-the-green/</link>
		<comments>http://brianyamabe.com/2010/01/22/the-joy-of-refactoring-in-the-green/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 20:32:02 +0000</pubDate>
		<dc:creator>byamabe</dc:creator>
				<category><![CDATA[BDD/TDD]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://brianyamabe.com/?p=43</guid>
		<description><![CDATA[I was BDDing some code for an idea I had for a Church Year website. I was using RSpec to drive the code that would return the church season based on a date. Some seasons are based on a fixed date, like Christmas, and others are relative to another date, Advent starts 3 weeks before [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I was BDDing some code for an idea I had for a Church Year website. I was using RSpec to drive the code that would return the church season based on a date. Some seasons are based on a fixed date, like Christmas, and others are relative to another date, Advent starts 3 weeks before the Sunday before Christmas. I didn&#8217;t document all the steps I took to write the code (I&#8217;m thinking of doing this as a kata), but what I wanted to point out was that at one point, I was &#8220;in the Green&#8221; and saw a bunch of duplicate code, ill-named method, and obscure variable names. I started making changes left and right while running the tests after each change and remaining &#8220;in the Green.&#8221; The experience was amazing to say the least. I hadn&#8217;t felt so proud of my code or excited about programming in a long time. I&#8217;ve always intellectually believed in the benefits of BDD, but that was the first time I&#8217;ve felt it emotionally. I can see why some people refuse to work any other way.</p>
<div class="posttagsblock"><a href="http://technorati.com/tag/RSpec" rel="tag">RSpec</a></div>
]]></content:encoded>
			<wfw:commentRss>http://brianyamabe.com/2010/01/22/the-joy-of-refactoring-in-the-green/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADD or a Better Way?</title>
		<link>http://brianyamabe.com/2010/01/01/add-or-a-better-way/</link>
		<comments>http://brianyamabe.com/2010/01/01/add-or-a-better-way/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 04:54:45 +0000</pubDate>
		<dc:creator>byamabe</dc:creator>
				<category><![CDATA[BDD/TDD]]></category>
		<category><![CDATA[Law And Gospel]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://brianyamabe.com/?p=38</guid>
		<description><![CDATA[I&#8217;ve done it again and decided to change the technology I&#8217;m going to use to build LaG. Some my attribute this to technological ADD which I freely admit to, but this time I believe my reasons are substantive. Uncertain Future of App Engine Patch I was pretty excited about being able to use Django on [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve done it again and decided to change the technology I&#8217;m going to use to build LaG. Some my attribute this to technological ADD which I freely admit to, but this time I believe my reasons are substantive.</p>
<p><b>Uncertain Future of App Engine Patch</b></p>
<p>I was pretty excited about being able to use Django on Google App Engine with App Engine Patch. However, in recent weeks I noticed that most of the questions to the mailing list were only responded to by the original poster. I personally experienced this when I had a question about a problem loading fixtures and didn&#8217;t get a single reply. Then a recent thread on the future of App Engine Patch stated that the maintainers were looking into using a new Django-based framework. Well, I&#8217;m just not willing to invest my time in a dead framework. Strike 1.</p>
<p><b>Wary of Google App Engine</b></p>
<p>I&#8217;ve always been concerned about being locked into App Engine, but the lure of hosting that was free to start and could be scaled with usage needs was very attractive. My desire for a solution that is cheap to start and can scale with need is still very high, but I think there are enough ~$20 per month VPS solutions out there that I&#8217;m willing to forgo the $0 starting point for more freedom, control and flexibility. Check Swing.</p>
<p><font face="verdana, arial, helvetica, clean, sans-serif"><span style="border-collapse: collapse; line-height: 12px;"><b>Desire to Focus on Testing and BDD</b></span></font></p>
<p><font face="verdana, arial, helvetica, clean, sans-serif"><span style="border-collapse: collapse; line-height: 12px;">Since I&#8217;m going to be the only QA for LaG (aside from the users <img src='http://brianyamabe.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , I really want to have as much automated testing in place as I can. Django and Python have plenty of facilities to do unit testing and BDD, but the community as a whole doesn&#8217;t focus much on it and there don&#8217;t seem to be a whole lot of best practices around it. While googling Python BDD, most of the references were to say, &#8220;We can do that with Doctest and py.test,&#8221; but not a whole lot of examples.</span></font></p>
<p><font face="verdana, arial, helvetica, clean, sans-serif"><span style="border-collapse: collapse; line-height: 12px;"><b>Back to the Bad Boy of Software Development</b></span></font></p>
<p><font face="verdana, arial, helvetica, clean, sans-serif"><span style="border-collapse: collapse; line-height: 12px;">Since I was reevaluating my technology choices, I decided to check in on Rails which I hadn&#8217;t looked at in 2+ years. Part of the reason I moved away from the Ruby/Rails scene was that it seemed that things were always changing and not in just subtle ways. I felt like I couldn&#8217;t keep up with all that was going on and wanted more stable, measured approach to my choice of frameworks. Well, things haven&#8217;t changed much. There&#8217;s Rails + Merb = Rails 3, RSpec, Remarkable, Cucumber, etc. all still evolving at fast, if no longer breakneck, speed. But there was still the focus on testing and high quality code. There are also a lot of solutions to help with deployment that didn&#8217;t exist 2+ years ago. So I&#8217;m reacquainting myself with Rails and RSpec and getting an introduction to Cucumber by going through <a href="http://www.amazon.com/gp/product/1934356379?ie=UTF8&amp;tag=yamabe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1934356379">The RSpec Book</a> beta. I&#8217;m feeling pretty confident that this will be the technology I stick with, but I&#8217;ve told myself that before. <img src='http://brianyamabe.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </span></font></p>
<div class="posttagsblock"><a href="http://technorati.com/tag/Rails" rel="tag">Rails</a></div>
]]></content:encoded>
			<wfw:commentRss>http://brianyamabe.com/2010/01/01/add-or-a-better-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
