add Inspectron.Epson.Tests xUnit project
This commit is contained in:
1
Inspectron.Epson.Tests/GlobalUsings.cs
Normal file
1
Inspectron.Epson.Tests/GlobalUsings.cs
Normal file
@@ -0,0 +1 @@
|
||||
global using Xunit;
|
||||
26
Inspectron.Epson.Tests/Inspectron.Epson.Tests.csproj
Normal file
26
Inspectron.Epson.Tests/Inspectron.Epson.Tests.csproj
Normal 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>
|
||||
7
Inspectron.Epson.Tests/Sanity/SanityTests.cs
Normal file
7
Inspectron.Epson.Tests/Sanity/SanityTests.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Inspectron.Epson.Tests.Sanity;
|
||||
|
||||
public class SanityTests
|
||||
{
|
||||
[Fact]
|
||||
public void Truth_is_true() => Assert.True(true);
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user