diff options
Diffstat (limited to 'Tests/LibMatrix.Tests')
-rw-r--r-- | Tests/LibMatrix.Tests/GlobalUsings.cs | 1 | ||||
-rw-r--r-- | Tests/LibMatrix.Tests/LibMatrix.Tests.csproj | 32 | ||||
-rw-r--r-- | Tests/LibMatrix.Tests/ResolverTest.cs | 10 |
3 files changed, 43 insertions, 0 deletions
diff --git a/Tests/LibMatrix.Tests/GlobalUsings.cs b/Tests/LibMatrix.Tests/GlobalUsings.cs new file mode 100644 index 0000000..8c927eb --- /dev/null +++ b/Tests/LibMatrix.Tests/GlobalUsings.cs @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/Tests/LibMatrix.Tests/LibMatrix.Tests.csproj b/Tests/LibMatrix.Tests/LibMatrix.Tests.csproj new file mode 100644 index 0000000..ad9b2fa --- /dev/null +++ b/Tests/LibMatrix.Tests/LibMatrix.Tests.csproj @@ -0,0 +1,32 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net7.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + + <IsPackable>false</IsPackable> + <IsTestProject>true</IsTestProject> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/> + <PackageReference Include="xunit" Version="2.4.2"/> + <PackageReference Include="Xunit.Microsoft.DependencyInjection" Version="7.0.6"/> + <PackageReference Include="Xunit.DependencyInjection" Version="8.8.2" /> + <PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.1.0" /> + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5"> + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> + <PrivateAssets>all</PrivateAssets> + </PackageReference> + <PackageReference Include="coverlet.collector" Version="3.2.0"> + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> + <PrivateAssets>all</PrivateAssets> + </PackageReference> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\..\LibMatrix\LibMatrix.csproj" /> + </ItemGroup> + +</Project> diff --git a/Tests/LibMatrix.Tests/ResolverTest.cs b/Tests/LibMatrix.Tests/ResolverTest.cs new file mode 100644 index 0000000..b1191fe --- /dev/null +++ b/Tests/LibMatrix.Tests/ResolverTest.cs @@ -0,0 +1,10 @@ +using LibMatrix.Services; + +namespace LibMatrix.Tests; + +public class ResolverTest { + [Fact] + public void ResolveServer() { + + } +} |