<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Objective Action - BDD</title>
			<link>http://www.objectiveaction.com/Kevin/index.cfm</link>
			<description>An Objective Look at Adobe and the Internet</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 13:19:14+0100</pubDate>
			<lastBuildDate>Tue, 01 Sep 2009 12:15:00+0100</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>kevin@objectiveinternet.com</managingEditor>
			<webMaster>kevin@objectiveinternet.com</webMaster>
			
			
			
			
			
			<item>
				<title>Stubs and Mocks in cfSpec 0.3</title>
				<link>http://www.objectiveaction.com/Kevin/index.cfm/2009/9/1/Stubs-and-Mocks-in-cfSpec-03</link>
				<description>
				
				I noticed last week that there is a new version of cfSpec available and took the oportunity to download it.

I was very keen to try out the new Mocking feature as a new project I started needs to be able to do that because the 
web services it will be using won&apos;t be available until after the project has been underway for several weeks. 
&apos;Great,&apos; I thought, I can start straight away and use Mocks for the missing web services.

Unfortunately there is no documentation yet, but Ron Hopper very kindly sent me a document that helped me get started
with writing some simple Mocks and this week I should be able to nail down some more realistic ones for my project.

The new version of cfSpec builds upon the great work done in earlier versions with Stubs, so using a Mock is very 
similar but gives you extra abilities to set what the object returns and test how many times it is called. 
So let&apos;s start with some examples of stubs which worked in version 0.2.
				 [More]
				</description>
						
				
				<category>BDD</category>				
				
				<pubDate>Tue, 01 Sep 2009 12:15:00+0100</pubDate>
				<guid>http://www.objectiveaction.com/Kevin/index.cfm/2009/9/1/Stubs-and-Mocks-in-cfSpec-03</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Behaviour Driven Development at TVCFUG</title>
				<link>http://www.objectiveaction.com/Kevin/index.cfm/2009/9/1/Behaviour-Driven-Development-at-TVCFUG</link>
				<description>
				
				One of the tools promoted by Agile Development Gurus is Test Driven Development (TDD) but TDD didn&apos;t work for me. Eventually I discovered Behaviour Driven Development (BDD) and cfSpec which I found much more user friendly.

If you are interested in this new way of thinking about development it would be great to see you at this meeting.

The meeting will convene at 6:00pm for 6:30 Start at Phones International.

We will also be doing the usual raffle and I have a very nice Adobe Rucksack to give away to a lucky winner.

Please email me at tvcfug (at) objectiveinternet (dot) com or log in on Adobe Groups and say you will be attending to ensure your name is on the list on the door. For details of the location please go to our &lt;a href=&quot;http://groups.adobe.com/posts/44eb6acf7d&quot; target=&quot;_blank&quot;&gt;Adobe Groups Site&lt;/a&gt;.
				
				</description>
						
				
				<category>BDD</category>				
				
				<category>TVCFUG</category>				
				
				<pubDate>Tue, 01 Sep 2009 11:38:00+0100</pubDate>
				<guid>http://www.objectiveaction.com/Kevin/index.cfm/2009/9/1/Behaviour-Driven-Development-at-TVCFUG</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Behaviour Driven Development with cfSpec at Devon CFUG</title>
				<link>http://www.objectiveaction.com/Kevin/index.cfm/2009/5/8/Behaviour-Driven-Development-with-cfSpec-at-Devon-CFUG</link>
				<description>
				
				I will be speaking about Behaviour Driven Development (BDD) and &lt;a href=&quot;http://wiki.github.com/adelphus/cfspec&quot; target=&quot;_blank&quot;&gt;cfSpec&lt;/a&gt; at the Devon CFUG on Wednesday 13th May.

Over the last few weeks I have been preparing a presentation on &lt;a href=&quot;http://behaviour-driven.org/&quot; taget=&quot;_blank&quot;&gt;BDD&lt;/a&gt;, mostly to get the ideas straight in my own head. If you are interested in this new way of thinking about development it would be great to see you in Exeter next week.

The meeting will convene at 6:00pm for 6:30 Start at Crisp eBusiness. &lt;a href=&quot;http://maps.google.co.uk/maps?q=EX4+3SR(Crisp+eBusiness)&amp;ie=UTF8&amp;ll=50.726921,-3.534958&amp;spn=0.007416,0.015428&amp;z=16&amp;iwloc=A&quot; target=&quot;_blank&quot;&gt;Map&lt;/a&gt;.

I have been &lt;a href=&quot;http://www.objectiveaction.com/Kevin/index.cfm/2009/3/5/Behaviour-Driven-Development&quot;&gt;enjoying using BDD&lt;/a&gt; for the last few weeks and hope to have time to write a blog entry or two about it soon.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>BDD</category>				
				
				<pubDate>Fri, 08 May 2009 09:51:00+0100</pubDate>
				<guid>http://www.objectiveaction.com/Kevin/index.cfm/2009/5/8/Behaviour-Driven-Development-with-cfSpec-at-Devon-CFUG</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Behaviour Driven Development</title>
				<link>http://www.objectiveaction.com/Kevin/index.cfm/2009/3/5/Behaviour-Driven-Development</link>
				<description>
				
				Following the recent inaugural meeting of the Adobe Web Business group, I was keen to find out more about Agile development and found some &lt;a href=&quot;http://behaviour-driven.org/&quot; target=&quot;_blank&quot;&gt;really&lt;/a&gt; &lt;a href=&quot;http://dannorth.net/introducing-bdd&quot; target=&quot;_blank&quot;&gt;interesting&lt;/a&gt; &lt;a href=&quot;http://www.adelphus.com/2009/1/1/cfspec-behaviour-driven-development-for-coldfusion&quot; target=&quot;_blank&quot;&gt;stuff&lt;/a&gt; about Behaviour Driven Development.

For me one of the interesting points was simply that it focuses on &lt;a href=&quot;http://behaviour-driven.org/PowerfulQuestions&quot; target=&quot;_blank&quot;&gt;Powerful questions&lt;/a&gt; and &lt;a href=&quot;http://behaviour-driven.org/GettingTheWordsRight&quot; target=&quot;_blank&quot;&gt;getting the words right&lt;/a&gt; at the start.

Shortly after the meeting I downloaded &lt;a href=&quot;http://cfspec.riaforge.org/&quot; target=&quot;_blank&quot;&gt;cfSpec&lt;/a&gt; and began playing with it. Now I am hooked. At that time cfSpec was at version 0.1.1 and yesterday I noticed that it has moved on to version 0.2.1 which is good to see. The first was very usable and the second adds several new features.

I might be a bit late to this party as several other bloggers have &lt;a href=&quot;http://www.alanlivie.com/index.cfm/2009/1/6/Coldfusion-finally-gets-BDD-with-cfSpec-framework&quot; target=&quot;_blank&quot;&gt;already&lt;/a&gt; 
&lt;a href=&quot;http://corfield.org/blog/index.cfm/do/blog.entry/entry/BehaviorDriven_Development_with_cfSpec&quot; target=&quot;_blank&quot;&gt;commented&lt;/a&gt; on cfSpec.

There seems to be a growing interest in BDD and in particular I see that Sean Corfield is speaking on BDD at &lt;a href=&quot;http://cfobjective.com/sessions.cfm&quot; target=&quot;_blank&quot;&gt;cf.objective().2009&lt;/a&gt;.

One thing that I have found frustrating is creating tests for old code. To help me do that, I have created an additional &lt;a href=&quot;/client/enclosures/generate.cfm.txt&quot;&gt;custom tag&lt;/a&gt;. You can add the generate tag to cfSpec and then simply point it at an existing cfc to create a framework for the cfSpec. Its a bit of a hack but saves me lots of typing because I was fairly good about adding hints to my CFCs.

&lt;code&gt;
&lt;cfimport taglib=&quot;/cfspec&quot; prefix=&quot;&quot;&gt;
&lt;generate for=&quot;my.cfc.path.cfcname&quot; /&gt;
&lt;/code&gt;

Before I get loads of negative comments, I do realise that this is completly backwards and the wrong way to do the job of creating the tests but its only designed to help when you already have some code and you plan to refactor it. I feel a good first step its to create some tests which can be run after refactoring to prove that the code wasn&apos;t broken in the process. Let me know if you find the tag useful.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>BDD</category>				
				
				<pubDate>Thu, 05 Mar 2009 16:09:00+0100</pubDate>
				<guid>http://www.objectiveaction.com/Kevin/index.cfm/2009/3/5/Behaviour-Driven-Development</guid>
				
				<enclosure url="http://www.objectiveaction.com/Kevin/enclosures/generate.cfm" length="2183" type="application/text"/>
				
			</item>
			
		 	
			</channel></rss>