Skip to content

Commit

Permalink
v3.30.0 (#132)
Browse files Browse the repository at this point in the history
- *Enhancement:* Integrated `UnitTestEx` version `5.0.0` to enable the latest capabilities and improvements.
  - `CoreEx.UnitTesting.NUnit` given changes is no longer required and has been deprecated, the `UnitTestEx.NUnit` (or other) must be explicitly referenced as per testing framework being used.
  - `CoreEx.UnitTesting` package updated to include only standard .NET core capabilities to follow new `UnitTestEx` pattern; new packages created to house specific as follows:
    - `CoreEx.UnitTesting.Azure.Functions` created to house Azure Functions specific capabilities;
    - `CoreEx.UnitTesting.Azure.ServiceBus` created to house Azure Service Bus specific capabilities.
  - Existing usage will require references to the new packages as required. There should be limited need to update existing tests to use beyond the requirement for the root `UnitTestEx` namespace. The updated default within `UnitTestEx` is to expose the key capabilities from the root namespa
  • Loading branch information
chullybun authored Nov 21, 2024
1 parent a3f7515 commit bb60e34
Show file tree
Hide file tree
Showing 66 changed files with 445 additions and 314 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Represents the **NuGet** versions.

## v3.30.0
- *Enhancement:* Integrated `UnitTestEx` version `5.0.0` to enable the latest capabilities and improvements.
- `CoreEx.UnitTesting.NUnit` given changes is no longer required and has been deprecated, the `UnitTestEx.NUnit` (or other) must be explicitly referenced as per testing framework being used.
- `CoreEx.UnitTesting` package updated to include only standard .NET core capabilities to follow new `UnitTestEx` pattern; new packages created to house specific as follows:
- `CoreEx.UnitTesting.Azure.Functions` created to house Azure Functions specific capabilities;
- `CoreEx.UnitTesting.Azure.ServiceBus` created to house Azure Service Bus specific capabilities.
- Existing usage will require references to the new packages as required. There should be limited need to update existing tests to use beyond the requirement for the root `UnitTestEx` namespace. The updated default within `UnitTestEx` is to expose the key capabilities from the root namespace. For example, `using UnitTestEx.NUnit`, should be replaced with `using UnitTestEx`.

## v3.29.0
- *Enhancement:* Added `net9.0` support.
- *Enhancement:* Deprecated `net7.0` support; no longer supported by [Microsoft](https://dotnet.microsoft.com/en-us/platform/support/policy).
Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>3.29.0</Version>
<Version>3.30.0</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
21 changes: 14 additions & 7 deletions CoreEx.sln
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "UnitTesting", "UnitTesting"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreEx.UnitTesting", "src\CoreEx.UnitTesting\CoreEx.UnitTesting.csproj", "{AC247FD3-5F9F-4DD2-B0CB-1C9CD1EB98D2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreEx.UnitTesting.NUnit", "src\CoreEx.UnitTesting.NUnit\CoreEx.UnitTesting.NUnit.csproj", "{91910971-4B1A-4791-9BB4-65FAB3ED3C76}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreEx.TestFunctionIso", "tests\CoreEx.TestFunctionIso\CoreEx.TestFunctionIso.csproj", "{6F7B4F1E-3C3A-4CD7-A9BF-973A5053C1C8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreEx.Test2", "tests\CoreEx.Test2\CoreEx.Test2.csproj", "{910B5894-46BC-4427-95D6-2804F06458E3}"
Expand All @@ -92,6 +90,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreEx.Database.Postgres",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreEx.Data", "src\CoreEx.Data\CoreEx.Data.csproj", "{B927138A-1DCA-4BA6-A9E5-E5DA6446DABC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreEx.UnitTesting.Azure.Functions", "src\CoreEx.UnitTesting.Azure.Functions\CoreEx.UnitTesting.Azure.Functions.csproj", "{2BBB766A-D8A2-47B4-AD42-1FD96051604C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreEx.UnitTesting.Azure.ServiceBus", "src\CoreEx.UnitTesting.Azure.ServiceBus\CoreEx.UnitTesting.Azure.ServiceBus.csproj", "{CA21C777-2592-4E1A-970B-0888F21AB0D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -202,10 +204,6 @@ Global
{AC247FD3-5F9F-4DD2-B0CB-1C9CD1EB98D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC247FD3-5F9F-4DD2-B0CB-1C9CD1EB98D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC247FD3-5F9F-4DD2-B0CB-1C9CD1EB98D2}.Release|Any CPU.Build.0 = Release|Any CPU
{91910971-4B1A-4791-9BB4-65FAB3ED3C76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91910971-4B1A-4791-9BB4-65FAB3ED3C76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91910971-4B1A-4791-9BB4-65FAB3ED3C76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91910971-4B1A-4791-9BB4-65FAB3ED3C76}.Release|Any CPU.Build.0 = Release|Any CPU
{6F7B4F1E-3C3A-4CD7-A9BF-973A5053C1C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F7B4F1E-3C3A-4CD7-A9BF-973A5053C1C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F7B4F1E-3C3A-4CD7-A9BF-973A5053C1C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -222,6 +220,14 @@ Global
{B927138A-1DCA-4BA6-A9E5-E5DA6446DABC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B927138A-1DCA-4BA6-A9E5-E5DA6446DABC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B927138A-1DCA-4BA6-A9E5-E5DA6446DABC}.Release|Any CPU.Build.0 = Release|Any CPU
{2BBB766A-D8A2-47B4-AD42-1FD96051604C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2BBB766A-D8A2-47B4-AD42-1FD96051604C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BBB766A-D8A2-47B4-AD42-1FD96051604C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2BBB766A-D8A2-47B4-AD42-1FD96051604C}.Release|Any CPU.Build.0 = Release|Any CPU
{CA21C777-2592-4E1A-970B-0888F21AB0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA21C777-2592-4E1A-970B-0888F21AB0D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA21C777-2592-4E1A-970B-0888F21AB0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA21C777-2592-4E1A-970B-0888F21AB0D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -255,11 +261,12 @@ Global
{2A31E887-0340-47D2-AF80-D88D2866C80E} = {4B6BC31E-93B1-42B0-AE09-AD85AC4DB657}
{D2C61D4A-2A6D-4284-BF9D-09F51BA735B8} = {4B6BC31E-93B1-42B0-AE09-AD85AC4DB657}
{AC247FD3-5F9F-4DD2-B0CB-1C9CD1EB98D2} = {D2C61D4A-2A6D-4284-BF9D-09F51BA735B8}
{91910971-4B1A-4791-9BB4-65FAB3ED3C76} = {D2C61D4A-2A6D-4284-BF9D-09F51BA735B8}
{6F7B4F1E-3C3A-4CD7-A9BF-973A5053C1C8} = {3145DCB9-98FB-4519-BCC0-75A22A252EDC}
{910B5894-46BC-4427-95D6-2804F06458E3} = {3145DCB9-98FB-4519-BCC0-75A22A252EDC}
{C042AC2A-415D-432E-83FA-B911FD9ED378} = {4B6BC31E-93B1-42B0-AE09-AD85AC4DB657}
{B927138A-1DCA-4BA6-A9E5-E5DA6446DABC} = {4B6BC31E-93B1-42B0-AE09-AD85AC4DB657}
{2BBB766A-D8A2-47B4-AD42-1FD96051604C} = {D2C61D4A-2A6D-4284-BF9D-09F51BA735B8}
{CA21C777-2592-4E1A-970B-0888F21AB0D7} = {D2C61D4A-2A6D-4284-BF9D-09F51BA735B8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8B4566D2-9B22-4E27-9654-402BDBA6C744}
Expand Down
3 changes: 2 additions & 1 deletion nuget-publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ param(
"src\CoreEx.Newtonsoft",
"src\CoreEx.Validation",
"src\CoreEx.UnitTesting",
"src\CoreEx.UnitTesting.NUnit")
"src\CoreEx.UnitTesting.Azure.Functions",
"src\CoreEx.UnitTesting.Azure.ServiceBus")
)

$ShouldPublishRemote = (![string]::IsNullOrEmpty($apiKey) -and ![string]::IsNullOrEmpty($NugetServer))
Expand Down
2 changes: 1 addition & 1 deletion samples/My.Hr/My.Hr.Functions/My.Hr.Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.OpenApi" Version="1.5.1" />
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.4.1" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.6.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/My.Hr/My.Hr.UnitTest/DatabaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnitTestEx.NUnit;
using UnitTestEx;

namespace My.Hr.UnitTest
{
Expand Down
43 changes: 27 additions & 16 deletions samples/My.Hr/My.Hr.UnitTest/EmployeeControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using System.Threading.Tasks;
using UnitTestEx;
using UnitTestEx.Expectations;
using UnitTestEx.NUnit;
using DbEx;
using DbEx.Migration;
using DbEx.SqlServer.Migration;
Expand Down Expand Up @@ -77,7 +76,7 @@ public void A110_Get_Found()
Assert.That(result.Messages, Has.Count.EqualTo(1));
Assert.Multiple(() =>
{
Assert.That(result.Messages[0].Type, Is.EqualTo(MessageType.Warning));
Assert.That(result.Messages![0].Type, Is.EqualTo(MessageType.Warning));
Assert.That(result.Messages[0].Text, Is.EqualTo("Employee is considered old."));
});
}
Expand Down Expand Up @@ -118,9 +117,12 @@ public void B100_GetAll_All()
.AssertOK()
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(4));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Browne", "Jones", "Smith", "Smithers" }));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(4));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Browne", "Jones", "Smith", "Smithers" }));
});
}

[Test]
Expand All @@ -135,11 +137,14 @@ public void B110_GetAll_Paging()
.AssertOK()
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
Assert.That(v.Paging!.TotalCount, Is.EqualTo(4));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
});
Assert.That(v!.Paging!.TotalCount, Is.EqualTo(4));
}

[Test]
Expand All @@ -166,9 +171,12 @@ public void B120_GetAll_Filter_LastName()
.AssertOK()
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Smith", "Smithers" }));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Smith", "Smithers" }));
});
}

[Test]
Expand All @@ -181,9 +189,12 @@ public void B130_GetAll_Filter_StartDateAndGenders_OrderBy_FirstName()
.AssertOK()
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Smith", "Browne" }));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Smith", "Browne" }));
});
}

[Test]
Expand Down
3 changes: 1 addition & 2 deletions samples/My.Hr/My.Hr.UnitTest/EmployeeControllerTest2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using System.Threading.Tasks;
using UnitTestEx;
using UnitTestEx.Expectations;
using UnitTestEx.NUnit;
using My.Hr.Business.Services;

namespace My.Hr.UnitTest
Expand Down Expand Up @@ -115,7 +114,7 @@ public void B110_GetAll_Paging()
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
});
Assert.That(v.Paging!.TotalCount, Is.EqualTo(4));
Assert.That(v!.Paging!.TotalCount, Is.EqualTo(4));
}

[Test]
Expand Down
23 changes: 14 additions & 9 deletions samples/My.Hr/My.Hr.UnitTest/EmployeeFunctionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using System.Net.Http;
using System.Threading.Tasks;
using UnitTestEx;
using UnitTestEx.NUnit;

namespace My.Hr.UnitTest
{
Expand Down Expand Up @@ -101,9 +100,12 @@ public void B100_GetAll_All()
.Run(f => f.GetAllAsync(test.CreateHttpRequest(HttpMethod.Get, "api/employees")))
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(4));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Browne", "Jones", "Smith", "Smithers" }));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(4));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Browne", "Jones", "Smith", "Smithers" }));
});
}

[Test]
Expand All @@ -116,11 +118,14 @@ public void B110_GetAll_Paging()
.AssertOK()
.GetValue<EmployeeCollectionResult>();

Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
Assert.That(v.Paging!.TotalCount, Is.EqualTo(4));
Assert.Multiple(() =>
{
Assert.That(v?.Items, Is.Not.Null);
Assert.That(v!.Items, Has.Count.EqualTo(2));
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
});
Assert.That(v!.Paging!.TotalCount, Is.EqualTo(4));
}

[Test]
Expand Down
3 changes: 1 addition & 2 deletions samples/My.Hr/My.Hr.UnitTest/EmployeeResultControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using System.Threading.Tasks;
using UnitTestEx;
using UnitTestEx.Expectations;
using UnitTestEx.NUnit;
using DbEx;
using DbEx.Migration;
using DbEx.SqlServer.Migration;
Expand Down Expand Up @@ -128,7 +127,7 @@ public void B110_GetAll_Paging()
Assert.That(v.Items.Select(x => x.LastName).ToArray(), Is.EqualTo(new string[] { "Jones", "Smith" }));
Assert.That(v.Paging, Is.Not.Null);
});
Assert.That(v.Paging!.TotalCount, Is.EqualTo(4));
Assert.That(v!.Paging!.TotalCount, Is.EqualTo(4));
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using My.Hr.Functions;
using NUnit.Framework;
using System.Net.Http;
using UnitTestEx.NUnit;
using UnitTestEx;

namespace My.Hr.UnitTest
{
Expand Down
8 changes: 5 additions & 3 deletions samples/My.Hr/My.Hr.UnitTest/My.Hr.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -31,10 +31,12 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="UnitTestEx.NUnit" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\src\CoreEx.UnitTesting.NUnit\CoreEx.UnitTesting.NUnit.csproj" />
<ProjectReference Include="..\..\..\src\CoreEx.UnitTesting.Azure.Functions\CoreEx.UnitTesting.Azure.Functions.csproj" />
<ProjectReference Include="..\..\..\src\CoreEx.UnitTesting.Azure.ServiceBus\CoreEx.UnitTesting.Azure.ServiceBus.csproj" />
<ProjectReference Include="..\My.Hr.Api\My.Hr.Api.csproj" />
<ProjectReference Include="..\My.Hr.Business\My.Hr.Business.csproj" />
<ProjectReference Include="..\My.Hr.Database\My.Hr.Database.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Linq;
using System.Threading.Tasks;
using UnitTestEx;
using UnitTestEx.NUnit;

namespace My.Hr.UnitTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using My.Hr.Business.External.Contracts;
using My.Hr.Functions;
using NUnit.Framework;
using UnitTestEx.NUnit;
using UnitTestEx;

namespace My.Hr.UnitTest
{
Expand Down
2 changes: 1 addition & 1 deletion src/CoreEx.Cosmos/CoreEx.Cosmos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Import Project="..\..\Common.targets" />

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.45.2" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.46.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
using System.Reflection;
using UnitTestEx.Abstractions;

[assembly: OneOffTestSetUp(typeof(UnitTestEx.NUnit.Abstractions.CoreExOneOffTestSetUp))]
[assembly: OneOffTestSetUp(typeof(AzureFunctionsCoreExOneOffTestSetUp))]

namespace UnitTestEx.NUnit.Abstractions
namespace UnitTestEx.Abstractions
{
/// <summary>
/// Provides the one-off test set-up for the <see cref="CoreEx"/>-related testing.
/// </summary>
/// <remarks>Adds the <see cref="CoreExExtension"/> to support the runtime extension inclusion. Also, changes the <see cref="TestSetUp.Default"/> <see cref="TestSetUp.JsonSerializer"/> to the <see cref="CoreEx.Text.Json.JsonSerializer"/>.
/// <para>This inheits the <see cref="UnitTestEx.Abstractions.CoreExOneOffTestSetUp"/> achieving the same functionality, but is delared within this <see cref="Assembly"/> to ensure executed.</para></remarks>
public class CoreExOneOffTestSetUp : UnitTestEx.Abstractions.CoreExOneOffTestSetUp { }
/// <para>This inherits the <see cref="CoreExOneOffTestSetUp"/> achieving the same functionality, but is delared within this <see cref="Assembly"/> to ensure executed.</para></remarks>
public class AzureFunctionsCoreExOneOffTestSetUp : CoreExOneOffTestSetUp { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<RootNamespace>UnitTestEx</RootNamespace>
<Product>CoreEx</Product>
<Title>CoreEx Azure Functions UnitTesting extras.</Title>
<Description>CoreEx UnitTesting (UnitTestEx) extras.</Description>
<PackageTags>coreex unittest unit-test test unittestex</PackageTags>
</PropertyGroup>

<Import Project="..\..\Common.targets" />

<ItemGroup>
<ProjectReference Include="..\CoreEx.UnitTesting\CoreEx.UnitTesting.csproj" />
<ProjectReference Include="..\CoreEx\CoreEx.csproj" />
<ProjectReference Include="..\CoreEx.Azure\CoreEx.Azure.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="UnitTestEx.Azure.Functions" Version="5.0.0" />
</ItemGroup>

</Project>
Loading

0 comments on commit bb60e34

Please sign in to comment.