feat: scaffold SpamGuard solution with project structure
This commit is contained in:
1
tests/SpamGuard.Tests/GlobalUsings.cs
Normal file
1
tests/SpamGuard.Tests/GlobalUsings.cs
Normal file
@@ -0,0 +1 @@
|
||||
global using Xunit;
|
||||
23
tests/SpamGuard.Tests/SpamGuard.Tests.csproj
Normal file
23
tests/SpamGuard.Tests/SpamGuard.Tests.csproj
Normal file
@@ -0,0 +1,23 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
|
||||
<PackageReference Include="xunit" Version="2.*" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.*" />
|
||||
<PackageReference Include="NSubstitute" Version="5.*" />
|
||||
<PackageReference Include="coverlet.collector" Version="6.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\SpamGuard\SpamGuard.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
10
tests/SpamGuard.Tests/UnitTest1.cs
Normal file
10
tests/SpamGuard.Tests/UnitTest1.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace SpamGuard.Tests;
|
||||
|
||||
public class UnitTest1
|
||||
{
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user