Dependency injection doesn't work in Postsharp. How do I make aspects testable? I really want to avoid creating concrete classes for logging in my aspects.
I don't want the aspects running when I'm unit testing methods. If I'm testing a method I don't want the logging aspect firing and trying to create the concrete logger during my tests.
I love the idea of Postsharp and really want to use it, but these two problems seem to be causing too much trouble for me.
Any ideas?