How to use AOP from DI Frameworks With C# TestFrameworks? (NOT for the item under test)
问题 My apologies in advance for a terrible title- suggestions welcome! I've been reading about DI and AOP, and I think I grasp the basics; at least for the canonical example of adding logging. I would like to apply this to the test cases we've been creating in NUnit e.g. be able to automatically add entry/exit logging for all test case methods and any 'helper methods' that they call. (And I'm not tied to NUnit- if it's easier in another framework, please let me know.) NOTE- this is not about the