Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting BDD resources?

Tags:

bdd

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

like image 931
Daniel Rodriguez Avatar asked Aug 08 '26 20:08

Daniel Rodriguez


2 Answers

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

like image 143
jrista Avatar answered Aug 19 '26 00:08

jrista


Depending on your language and learning preference:

The RSpec Book talks about BDD using Ruby, RSpec and Cucumber. It is an EXCELLENT source for learning about the Concentric circles of BDD.

jrista's link to Bellware's article in Code Magazine is another EXCELLENT resource.

Just remember that BDD is about describing requirements/specifications so succinctly that they are executable. Then write the code that satisfies that spec. Rinse and repeat.

Hope this helps. Lee

like image 39
leebrandt Avatar answered Aug 19 '26 02:08

leebrandt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!