Search The Blog
Latest Posts
from 5whys.com
Twitter: @RoyOsherove
About this site

TDD in .NET Online Course

TDD and BDD in Ruby Online Course

 

Subscribe!

This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

« Video: (part 6 - Total n00b mistakes) Go Game Engine with TDD and Pair Programming | Main | Refactoring Dillema Video: (part 4) Building a Go Game Engine with TDD and Pair Programming »
Monday
Jul022012

Video: (part 5 - A Test DSL) Go Game Engine with TDD and Pair Programming

In this session we start writing some tests that don’t fail first, and we don’t understand why. So we take some time to make a testing DSL, so that our tests will be more readable, and also easier to write. We also start to use NCrunch to see how it feels in real life.

As always, you can get all the previous parts here, and the source code is here.

Interesting note:

This video, along with the others, marks 6.5 hours of us pairing. So this is where we’d end up at the end of the first day working on this project if we were working in a real job, pairing full time. Not bad, in terms of amount of discoveries, knowledge shared, and understanding the problem domain, and starting with something that works.

PrintView Printer Friendly Version

Reader Comments (2)

Hi Roy,

why not implementig like board.ToString which returns a easy to read matrix for the current board? Could be something like this:

.B........
B.........

where B stands for a black stone, W for a white one. Dot or just a space is empty.

And if you implement a method to init your board with such data, it is even more visual and clear.

string boardData = @".B....
B.....";

Board board = MakeBoard(boardData);

Regards,
Steve

July 3, 2012 | Unregistered CommenterSteve

Hi again,

maybe i should watch the whole video before posting? :)

Regards
Steve

July 3, 2012 | Unregistered CommenterSteve
Comments for this entry have been disabled. Additional comments may not be added to this entry at this time.
Web Analytics