Microsoft has come a long way when it comes to support for unit tests. They basically co-opted NUnit as their basic building block for testing. Of course they re-branded it as MSTest and added feature/bug tracking and some more stuff all bundled together into TFS.
Given their willingness to get that deep into the unit test craze, their choice of interfaces for ObjectContext (on the server side) and DataServiceContext (on the client side) seems a bit odd. There is no interface to be…Continue
Added by Timothy Little on April 23, 2012 at 10:49am — No Comments
This post is just a friendly reminder for those that practice TDD/BDD to make sure they are not putting more ceremony into their tests than is necessary. Use mocks and stubs instead!
Mocks are just stand-ins that behave like the thing we want it to represent. Stubs will fake a method call and return a canned response. These save time both in setting up the test and in running it (depending on if your real objects are persisted in a test database). When you test a method…Continue
Added by Chris Sass on April 20, 2012 at 5:58pm — No Comments
Apologies for being a bit late this month. I just returned from New York and I'm prepping to leave for Tokyo in a couple days. I'm getting too old for this :-)
This month we had some excellent blog posts including: