mirror of
https://github.com/nsnail/dot.git
synced 2025-06-19 22:08:16 +08:00
<chore> + 增加测试项目
This commit is contained in:
13
tests/TestGet.cs
Normal file
13
tests/TestGet.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Dot.Tests;
|
||||
|
||||
public class TestGet
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup() { }
|
||||
|
||||
[Test]
|
||||
public void Test1()
|
||||
{
|
||||
Assert.Pass();
|
||||
}
|
||||
}
|
1
tests/Usings.cs
Normal file
1
tests/Usings.cs
Normal file
@ -0,0 +1 @@
|
||||
global using NUnit.Framework;
|
15
tests/tests.csproj
Normal file
15
tests/tests.csproj
Normal file
@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net7.0-windows;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
<RootNamespace>Dot.Tests</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2"/>
|
||||
<PackageReference Include="NUnit" Version="3.13.3"/>
|
||||
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
|
||||
<PackageReference Include="NUnit.Analyzers" Version="3.3.0"/>
|
||||
<PackageReference Include="coverlet.collector" Version="3.1.2"/>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Reference in New Issue
Block a user