-
The big idea behind ADO.NET Data Services is that it enables a data source (generally a relational data source) to be exposed via a RESTful service. In the context of fetching data – which is the principle concern of our SSIS data source component, data is returned as either an ATOM feed or as...
-
IMPORTANT NOTE: This is beta (still). The assertion library is new and may have bugs. I’d appreciate you testing it on your specs, but don’t fight specs breaking too hard if they do, let me know what happened and revert, I wouldn’t want to cost you your day chasing down a bug in MSpec. Thanks! It’s been...
-
Let me preface this post by saying that it is about my (early) experiences practicing BDD in the context of a specific specification framework – MSpec . There are plenty of folks out there who are much more authoritative on this subject than I. And if you happen to be one of those people, I would...
-
As I’ve been working another blog post about my adventures in learning BDD ala MSpec , I ran into something that I wanted to share as the problem wasn’t immediately obvious (to me anyway). The problem is that MSpec has a dependency on version 2.4.6.0 of the nunit.framework assembly –...
-
Yea I know – 3 things you never thought you would hear mentioned together. And to be really honest, I didn’t start out trying to build this in a BDD fashion – and since I’m totally new to the disciplines of BDD, I may not have been all that successful. But hey, it’s all about the journey...
-
When you call a query method that returns true or false, I highly suggest that you make true results trip conditional logic / guard clauses / etc. I was driving out some code today in an MVC controller that had a dependency on an type who's responsibility it is to check for unique email addresses...
-
When we started our current project we did not use context/specification style testing , instead we used testcase-per-class with a four-phase test model (also known as arrange-act-assert ). Although we followed story-test driven development (STDD) we were not explicitly Behavior-Driven Development BDD...
-
Learning BDD I have been trying for some time now to understand what the Behavior Driven Development ( BDD ) exponents are talking about. I'm sure that Scott and Colin Jack are sick of me asking questions on BDD. This is pretty much a journal of my understanding. It might help others on a similar...
-
Unlike vanilla TDD, the artifacts produced by BDD can and should be read by more than just developers. Most of us who practice TDD name our tests more or less like this: MessageBoardControllerTests.Index_WithTenMessages_ReturnsFiveMostRecentFromRepository() Shifting into Context/Specification style testing...
-
Jimmy Bogard on coming to TDD and interface oriented Jesus and the aha moment of why we use interfaces: An interface is a contract, that any implementation needs to adhere to. Consumers of the interface do not care about implementation details, nor can they, as the interface provides no other information...
-
Mikel Lindsaar recently posted a tip encouraging rSpec users to not use before :each, and set up the context in every "it" specification. I'm afraid I disagree. By pushing context setup into your specifications, you're allowing your contexts to become artificial and anemic and your...
-
As some of you who follow me on twitter know, I've been working on Yet Another Context/Specification Framework as an experiment. Yeah, I know we already have NSpec and NBehave , and they're great and all, but MSpec takes things on from a slightly different angle, and it's just an experiment...
-
In my last post I offered a concise snapshot of how I'm practicing Behavior-Driven Development. Based on feedback, it was probably a little too concise and meta to provide any kind of valuable takeaways or discussion points, so I'm going to unpack what I said there over a few, more-specific posts...
-
Scott Bellware posed a question on the newly formed BDD list asking people's background. The list is concerned with Behavior-Driven Development but seems to have a heavy bias toward the .NET developer. This bias seems to bend the conversation towards tools, where tools mean a kind of language/platform...
-
I was running through a group talk I do at the recent Philly CodeCamp (which was a huge success by the way, special thanks to Brian Donahue for doing the heavy lifting in organizing an ALT.NET track) and we were ping pong pairing on the well known bank example. The first story we covered looked like...