LogicAppUnit 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LogicAppUnit --version 1.2.0
NuGet\Install-Package LogicAppUnit -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LogicAppUnit" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LogicAppUnit --version 1.2.0
#r "nuget: LogicAppUnit, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LogicAppUnit as a Cake Addin
#addin nuget:?package=LogicAppUnit&version=1.2.0

// Install LogicAppUnit as a Cake Tool
#tool nuget:?package=LogicAppUnit&version=1.2.0

LogicAppUnit is a testing framework that simplifies the creation of automated unit tests for Standard Logic Apps running in a local development environment, or on a build server as part of a DevOps pipeline. Standard Logic Apps do not include an out-of-the-box testing capability and this framework has been designed to fill this gap. The framework is based on the Logic Apps Sample Test Framework that was developed by Henry Liu, and includes additional functionality to make it easier to author and run tests and validate (assert) the results.

The framework does not support the testing of:

  • Consumption Logic App workflows.
  • Standard Logic App workflows that have been deployed to Azure.

The testing framework has been designed to make it easier to perform isolated unit testing of a workflow. The framework does this by modifying a copy of the workflow definition to remove the dependencies on external services and APIs, without affecting the functionality or behaviour of the workflow. This means that workflows can be easily tested in a developer's local environment, and by a DevOps pipeline running on a build server, where there is no access to Azure services or any other workflow dependencies.

The framework includes these high-level capabilities:

  • Replace non-HTTP triggers with HTTP triggers to enable automated testing of every workflow, irrespective of the trigger type.
  • Remove external service dependencies for built-in service provider connectors by replacing these actions with HTTP actions and a mock HTTP server that is managed by the framework.
  • Remove external service dependencies for managed API connectors by automatically re-configuring managed API connections to use a mock HTTP server that is managed by the framework.
  • Remove all retry policies to ensure that tests exercising failure scenarios do not take a long time to execute.
  • Detailed logging to help with workflow test authoring and debugging.
  • Programmatic access to the workflow run history to enable assertion of workflow run status, response status, action status, input and output messages and more. This includes support for action repetitions inside a loop.
  • Programmatic access to the requests sent to the mock HTTP server to enable assertion of the data sent from the workflow to external services and APIs.
  • Override specific local settings for a test case to enable more testing scenarios (e.g. feature flags).
  • Automatically enable run history for stateless workflows by creating the Workflows.<workflow name>.OperationOptions setting.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.9.0 1,424 1/23/2024
1.8.0 3,080 10/24/2023
1.7.0 3,996 7/27/2023
1.6.0 2,317 6/5/2023
1.5.0 472 4/14/2023
1.4.0 424 2/21/2023
1.3.0 407 2/1/2023
1.2.0 309 1/9/2023
1.1.0 317 12/16/2022
1.0.0 334 12/9/2022