ILoggable

A place to keep my thoughts on programming

Monthly Archives: August 2009

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 , ,