At the moment Functions in C# take a TraceWriter as a method parameter. This means that testing locally becomes a challenge as it's very hard to mock this. Ideally the method parameter should be an interface like ILogger that allows to easily mock this during testing
At the moment Functions in C# take a TraceWriter as a method parameter. This means that testing locally becomes a challenge as it's very hard to mock this. Ideally the method parameter should be an interface like ILogger that allows to easily mock this during testing