Skip to content

Commit 3032030

Browse files
Unit Testing
1 parent 95d0bba commit 3032030

3 files changed

Lines changed: 62 additions & 0 deletions

File tree

AetherFlow-Logo.png

22.2 KB
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
using AetherFlow.Framework.Interfaces;
2+
using AetherFlow.Framework.Testing;
3+
using AetherFlow.Framework.Testing.Extensions;
4+
using AetherFlow.Framework.Tests.Setup.Implementations;
5+
using AetherFlow.Framework.Tests.Setup.Interfaces;
6+
using NUnit.Framework;
7+
8+
namespace AetherFlow.Framework.Tests.UnitTests.DataverseContainerTests
9+
{
10+
[TestFixture]
11+
public class CheckDuplicatesRemovedWithoutError : SpecificationBase
12+
{
13+
[OneTimeSetUp]
14+
public void Run()
15+
{
16+
this.UseContainer();
17+
RunSpecification();
18+
}
19+
20+
private IDataverseContainer _container;
21+
22+
public override void Arrange()
23+
{
24+
_container = this.GetContainer();
25+
_container.Add<IInvoice>(new Invoice());
26+
}
27+
28+
public override void Act()
29+
{
30+
_container.Initialize(GetType().Assembly, "AetherFlow.Framework.Tests.Setup.Interfaces");
31+
}
32+
33+
[Test]
34+
public void EnsureNoErrors()
35+
{
36+
Assert.That(ThrownException, Is.Null);
37+
}
38+
}
39+
}

AetherFlow.Framework/AetherFlow.Framework.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,30 @@
88
<TargetFramework>net462</TargetFramework>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<Authors>AetherFlowDev</Authors>
11+
<Title>AetherFlow Framework</Title>
12+
<Description>The AetherFlow Plugin Framework is specifically designed to support developers in creating robust and maintainable Dataverse Plugins</Description>
13+
<PackageProjectUrl>https://aetherflow.dev</PackageProjectUrl>
14+
<PackageIcon>AetherFlow-Logo.png</PackageIcon>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
<RepositoryUrl>https://github.com/AetherFlowDev/PluginFramework</RepositoryUrl>
17+
<RepositoryType>git</RepositoryType>
18+
<PackageTags>Dataverse, AetherFlow</PackageTags>
19+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1120
</PropertyGroup>
21+
<ItemGroup>
22+
<None Include="..\AetherFlow-Logo.png">
23+
<Pack>True</Pack>
24+
<PackagePath>\</PackagePath>
25+
</None>
26+
<None Include="..\LICENSE">
27+
<Pack>True</Pack>
28+
<PackagePath>\</PackagePath>
29+
</None>
30+
<None Include="..\README.md">
31+
<Pack>True</Pack>
32+
<PackagePath>\</PackagePath>
33+
</None>
34+
</ItemGroup>
1235
<ItemGroup>
1336
<Reference Include="System.IdentityModel" />
1437
<Reference Include="System.Security" />

0 commit comments

Comments
 (0)