diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-15 09:50:45 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-15 09:50:45 +0200 |
commit | 6bd02248ccfbcb46960a6f39eaad23888d190eb5 (patch) | |
tree | 110578f31b6f9f70a7a1edab32fb3a34d6ad4f1a /Tests | |
parent | Media moderator PoC works, abstract command handling to library (diff) | |
download | LibMatrix-6bd02248ccfbcb46960a6f39eaad23888d190eb5.tar.xz |
Some refactoring
Diffstat (limited to '')
-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() { + + } +} |