LeeSanderson / Azure.Functions.Testing

Integration testing helper library for Azure Functions in the style of WebApplicationFactory (Microsoft.AspNetCore.Mvc.Testing)
MIT License
1 stars 1 forks source link

Azure.Functions.Testing

Build Status Nuget Nuget

Azure.Functions.Testing is an integration testing helper library for Azure Functions in the style of WebApplicationFactory.

The package leverages the Azure Function Core Tools to configure an launch an Azure Functions project and allow a Test project to make HTTP requests to the Function HTTP Trigger endpoints.

When running the Function via Azure Function Core Tools, additional arguments can be specified in the constructor of the FunctionApplicationFactory. The func start documentation defines a list of valid arguments.

See the package documentation and demos for examples of typical usage.