I am trying to unit test to use the basic Azure function. The Run function requires the argument TraceWriter; TraceWriter is an abstract class, and I'm not very good at documentation for bullying this dependency.
Here is the signature of the method I'm trying to verify:
public static void Run(string myQueueItem, TraceWriter log)
I can simply remove TraceWriter during testing or create an overloaded Run method, but that would be a clear violation of good testing practice. Any ideas for bullying TraceWriter and / or Azure block testing strategies will be appreciated.
source
share