Denomica.AzureFunctions.TestTools.InProcess
1.0.0-alpha.6
This is a prerelease version of Denomica.AzureFunctions.TestTools.InProcess.
dotnet add package Denomica.AzureFunctions.TestTools.InProcess --version 1.0.0-alpha.6
NuGet\Install-Package Denomica.AzureFunctions.TestTools.InProcess -Version 1.0.0-alpha.6
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="Denomica.AzureFunctions.TestTools.InProcess" Version="1.0.0-alpha.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Denomica.AzureFunctions.TestTools.InProcess --version 1.0.0-alpha.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Denomica.AzureFunctions.TestTools.InProcess, 1.0.0-alpha.6"
#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 Denomica.AzureFunctions.TestTools.InProcess as a Cake Addin #addin nuget:?package=Denomica.AzureFunctions.TestTools.InProcess&version=1.0.0-alpha.6&prerelease // Install Denomica.AzureFunctions.TestTools.InProcess as a Cake Tool #tool nuget:?package=Denomica.AzureFunctions.TestTools.InProcess&version=1.0.0-alpha.6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Denomica.AzureFunctions.TestTools.InProcess
This library is designed to facilitate Azure Functions application testing. The focus in the initial versions is on unit testing Durable Functions, including orchestration, activity and entity functions.
Getting Started
After you have added this library as a reference to your test project, have a look at the project wiki for more details on how to use this library.
Version Highlights
v1.0.0.alpha.6
- Added mocking of activity functions that specify a return value, but orchestrations call them without examining the return value, i.e.
context.CallActivityAsync()
instead ofcontext.CallActivityAsync<TResult>()
.
v1.0.0.alpha.5
- Added support for mocking
IDurableOrchestrationContext.CurrentUtcDateTime
property.
v1.0.0.alpha.4
- Added an overloaded method that was missing from the previous version.
v1.0.0.alpha.3
- Added a shorthand method for calling an orchestration function with input.
v1.0.0-alpha.2
- Changed target framework to .NET Standard 2.1 to support both .NET6 and .NET8.
- Added limited support for activity functions that take an
IDurableActivityContext
parameter.
v1.0.0-alpha.1
The initial prerelease of the library. This version has support for unit testing the following.
- Orchestration functions
- Activity functions with function input specifies as the function parameter
- Partial support for durable entities using the function syntax
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.Azure.WebJobs.Extensions.DurableTask (>= 2.13.1)
- Moq (>= 4.20.70)
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.0.0-alpha.6 | 106 | 4/5/2024 |
1.0.0-alpha.5 | 65 | 3/28/2024 |
1.0.0-alpha.4 | 58 | 3/21/2024 |
1.0.0-alpha.3 | 46 | 3/21/2024 |
1.0.0-alpha.2 | 54 | 3/21/2024 |
1.0.0-alpha.1 | 51 | 3/21/2024 |