ILoggable

A place to keep my thoughts on programming

Tag Archives: tdd

Setting up mocks for an inner autofac container

This is definitely an edge case testing scenario, so i don’t know how useful this utility class is in general, but i thought it was kinda fun deferred execution stuff, so why not post it? Here’s my scenario. I’ve built … Continue reading

August 24, 2009 .net , , ,

Moq rocks

Ok, so i’m not proud of it, but i’ve been a hold-out on mocking frameworks for a while. With the auto-gen of interfaces that resharper gives me, i’d just gotten pretty fast at rolling my own mocks. Once or twice … Continue reading

August 23, 2009 .net , , ,

Using TDD to learn new code

When I pick up a new framework or library, there’s usually that learning curve where I get familiar with its API, find what works, what doesn’t work, etc. One habit I’ve gotten into is that I create a TestFixture for … Continue reading

August 21, 2009 .net , ,

A case for TDD

I know, it’s been rather quiet here lately. I’ve just been slammed with coding, so writing things up is falling behind. In addition, my blogging time’s going to be split between techblog.notify.me and www.mindtouch.com/blog. And I’m behind on both of … Continue reading

October 2, 2008 .net, geek , , , ,

TDD & you can’t test what you can’t measure

Recently I’ve been dealing with a lot of bug fixing that I can’t find a good way to wrap tests around. Which is really annoying, because it means that as things get refactored these bugs can come back. These scenarios … Continue reading

September 10, 2007 .net , ,