Skip to main content

Posts

Showing posts from 2012

Whatever Happened to Pong ... err ... SharpMock?

Just short of four years ago, I came up with an idea for replacing static/sealed methods in legacy code (the Michael Feathers kind) with fakes for testing purposes. Here's a quick rundown of what happened after I had that idea: Messed my brain up trying, for several hours over the course of many days, to figure out how to bend PostSharp to my will Left it alone for months Came back to it and spent several hours re-learning what I needed to know Left it alone for months Came back to it again and spent several hours re-learning what I needed to know Left it alone for months Came back to it and decided to try using LinFu as the AOP framework driving things Had what seemed like a pretty decent prototype working based on a dozen or so unit tests that fell apart under a little more weight Gave up on LinFu and left it alone for a few months Started over using Microsoft CCI Code Model to create my own specialized AOP framework to drive the mocking framework Made minor advan...