add Inspectron.Epson.Tests xUnit project

This commit is contained in:
EugeneTes
2026-07-23 07:36:42 +00:00
parent 360320a474
commit f8e5515050
4 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
global using Xunit;

View File

@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<RollForward>Major</RollForward>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Inspectron.Epson\Inspectron.Epson.csproj" />
<ProjectReference Include="..\EpsonPrintService\EpsonPrintService.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,7 @@
namespace Inspectron.Epson.Tests.Sanity;
public class SanityTests
{
[Fact]
public void Truth_is_true() => Assert.True(true);
}

View File

@@ -6,6 +6,7 @@
</Folder>
<Project Path="EpsonPrintService/EpsonPrintService.csproj" />
<Project Path="Inspectron.Epson.TemplateEngine.Tests/Inspectron.Epson.TemplateEngine.Tests.csproj" />
<Project Path="Inspectron.Epson.Tests/Inspectron.Epson.Tests.csproj" />
<Project Path="Inspectron.Epson.TemplateEngine/Inspectron.Epson.TemplateEngine.csproj" />
<Project Path="Inspectron.Epson/Inspectron.Epson.csproj" />
</Solution>