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