David Ross's Blog Random thoughts of a coder

Test Driven Development - Tools and Techniques

18. December 2008 00:26 by David in

Earlier tonight Chris and I presented our talk on Test Driven Development.  I have to say I was rather impressed at the turn out since its only a week away from Christmas and we still managed around 40 people.  As promised here are the slides from the presentation and all of the code/files that were used during the talk. 

Test_Infected_Presentation.ppt (544.50 kb) 

SkillsMatter.TestInfected.rar (6.15 mb) 

Running Fitnesse

  1. Uncompress the SkillsMatter.TestInfected.rar file into C:\SkillsMatter\TDDTalk
  2. Run C:\SkillsMatter\TDDTalk\TDD\fitnesse\run.bat - This will start the Fitnesse web server on port 8080
  3. load http://localhost:8080/MidlandsFoodsFirstCut
  4. Press the Suite link and the tests should execute and all fail - This demonstrates the deliverable from a Business Analyst
  5. Load http://localhost:8080/MidlandsFoods 
  6. Press the Suite link and the tests should execute and most will pass
Debugging Fitnesse
  1. Uncompress the SkillsMatter.TestInfected.rar file into C:\SkillsMatter\TDDTalk
  2. Run C:\SkillsMatter\TDDTalk\TDD\fitnesse\run.bat - This will start the Fitnesse web server on port 8080
  3. Load C:\SkillsMatter\TDDTalk\TDD\JackPlaysSnap\JackPlaysSnap.sln
  4. Set the Fitnesse project as the StartUp Project
  5. Under project propertie
    1. Set Start external program to C:\SkillsMatter\TDDTalk\TDD\fitnesse\dotnet\TestRunner.exe
    2. Set the Commandline arguements to localhost 8080 MidlandsFoods.GiantWinsJackNeverSnaps
    3. Set the Working directory to C:\SkillsMatter\TDDTalk\TDD\fitnesse\
  6. Set a breakpoint in JackPlaysSnapFitness.cs
  7. Run the project under debug mode

I'm a WISC developer

14. December 2008 16:59 by David in

I read a blog entry on WISC today.  Its the .NET developers equivalent to LAMP.

LAMP

 

  •  Linux
  • Apache
  • MySQL
  • Perl/PHP etc...

 

WISC

 

  •  Windows
  • IIS
  • SQL Server
  • C#

 

I'm not sure how well know this acronym will become, but it is kinda cool...

http://www.25hoursaday.com/weblog/2008/06/06/VelocityADistributedInMemoryCacheFromMicrosoft.aspx 

PostSharp Presentation 22 January 09

14. December 2008 16:06 by David in

I'm Coming to Open Source .NET eXchange at Skills Matter 2009I've been roped in to do another presentation at Skills Matter.  This time as part of the Open Source .NET Exchange program there will be a number of interesting talks on the night including.

The schedule is as follows... 

 

  • WELCOME TO THE OPENSOURCE.NET EXCHANGE (GOJKO ADZIC)
  • JQUERY (DYLAN BEATTIE)
  • ASPECT ORIENTED PROGRAMMING WITH POSTSHARP (David)
  • FLUENT NHIBERNATE (SEBASTIEN LAMBLA)
  • ACTIVEMQ AND NMS (DAVID DE FLORINIER)
  • IMPLEMENTING THE REPOSITORY PATTERN (MIKE HADLOW)
  • PANEL DISCUSSION: SPRING.NET AND CASTLE PROJECT (RUSS MILES & GOJKO ADZIC)
I will be talking about using PostSharp to simplify the development of plumbing code in Silverlight projects. 

 

Agile interview - Scott Ambler On Agile’s Present and Future - at infoq.com

5. December 2008 22:14 by David in

There is fascinating interview at infoq about Agile adoption.  Agile has won.  The majority of companies are now doing Agile projects as opposed to using traditional methods.

http://www.infoq.com/interviews/Agile-Scott-Ambler

Now that Agile is mainstream it is likely over the next two years that we will be hearing about lots of failed Agile projects.  This is the natural progression from Agile being originally executed by early adopters, who generally appear to be successful via the power of survivor bias (failed projects aren't advertised to the level of successful projects) to Agile now being used by teams with varying levels of competence.