initial test project

This commit is contained in:
femsci 2024-02-22 15:15:44 +01:00
parent 865dfea03d
commit a52665dd08
Signed by: femsci
GPG key ID: 21AC2CC03E5BBCD6
4 changed files with 51 additions and 0 deletions

View file

@ -7,6 +7,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C3B18ED6-C90
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nyanbyte.PPCheck.Lib", "src\Nyanbyte.PPCheck.Lib\Nyanbyte.PPCheck.Lib.csproj", "{02AFAE01-FBD5-49EE-8D3F-329CDA5FEA79}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B1DE5D4C-2699-46CA-AB98-27172F955862}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nyanbyte.PPCheck.Tests", "test\Nyanbyte.PPCheck.Tests\Nyanbyte.PPCheck.Tests.csproj", "{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -20,8 +24,13 @@ Global
{02AFAE01-FBD5-49EE-8D3F-329CDA5FEA79}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02AFAE01-FBD5-49EE-8D3F-329CDA5FEA79}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02AFAE01-FBD5-49EE-8D3F-329CDA5FEA79}.Release|Any CPU.Build.0 = Release|Any CPU
{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{02AFAE01-FBD5-49EE-8D3F-329CDA5FEA79} = {C3B18ED6-C901-49BD-A417-B28A660CE50A}
{0C4EC394-8D41-42DF-BCE3-5FB43661D8E2} = {B1DE5D4C-2699-46CA-AB98-27172F955862}
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,17 @@
using Nyanbyte.PPCheck.Lib;
namespace Nyanbyte.PPCheck.Tests;
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Meow()
{
ApiClient cli = new();
}
}

View file

@ -0,0 +1 @@
global using NUnit.Framework;

View file

@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.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="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
<PackageReference Include="NUnit.Analyzers" Version="3.6.1"/>
<PackageReference Include="coverlet.collector" Version="6.0.0"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nyanbyte.PPCheck.Lib\Nyanbyte.PPCheck.Lib.csproj" />
</ItemGroup>
</Project>