Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created September 5, 2017 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/25a015efc21c91154098704f2a7650cc to your computer and use it in GitHub Desktop.
Save justinyoo/25a015efc21c91154098704f2a7650cc to your computer and use it in GitHub Desktop.
Make Your Azure WebJobs Testable Again
// Class WITHOUT the "static" modifier.
public class Functions
{
// WebJob function WITHOUT the "static" modifier.
public void ProcessQueueMessage([QueueTrigger("queue")] string message, TextWriter log)
{
log.WriteLine(message);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment