The Azure Code Samples are currently available in English

Azure Functions / Durable Functions Unit Testing Sample

Azure Functions Unit Testing Samples for V2 Functions.


The sample provides the following samples:

  • HttpTrigger
  • QueueTrigger
  • Table Output bindings
  • Durable Functions

You can refer how to mock the apps. Also, you can re-use FunctionTestHelper package.

We try to increase the samples, EventGridTrigger, EventHubTrigger, ServiceBus... and so on.

Getting Started

1. Clone this samples

Clone this repo with your Visual Studo.

git clone


Visual Studio 2017 (15.6+) .Net Core Runtime


For enabling Durable Functions Unit Testing feature, you need to upgrade nuget packages.

  • Microsoft.NET.Sdk.Functions v1.0.7
  • Microsoft.Azure.WebJobs.Extensions.DurableTask v1.1.1-beta2

You might need to add as a nuget package sources for fetching the DurableTask v1.1.1-beta2


Coming soon