DotNet Integration Test Sample

This sample demonstrates how to use the dotnet integration test

Prerequisites

Setup

  1. Clone this repository
  2. Open the solution in Editor of your choice
  3. command line: cd src/WebApp && dotnet ef database update
  4. FunctionApp Project add local.settings.json file with the following content:
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet"
  },
  "ConnectionStrings": {
    "DatabaseConnection": "Server=localhost;Database=functest;User=sa;Password=P@ssw0rd;Trusted_Connection=False;",
    "StorageConnection": "UseDevelopmentStorage=true"
  }
}