Starting BDD resources

bdd

What would you recommend to start learning and applying BDD on a casual game development studio?

Best Solution

While I can't speak to using BDD specifically with games, I can't pass up the opportunity to introduce you to this excellent article:

http://www.code-magazine.com/article.aspx?quickid=0805061&page=1

One of my favorite overviews of BDD as a development methodology. Covers the process very well, and explains creating specifications via concern, context, and observations very nicely.

I also highly recommend using xUnit.NET and Moq as your testing platform (if you are lucky enough to be using .NET, that is). The following article provides an excellent specification-centric testing platform built on xUnit.NET, and follows the tennent of single-assertion-per-test-case very nicely:

http://iridescence.no/post/Extending-xUnit-with-a-Custom-ObservationAttribute-for-BDD-Style-Testing.aspx

Related Question