Добавлен тестовый проект

This commit is contained in:
Ivan Shvedov 2024-05-22 17:24:44 +03:00
parent c34b047b28
commit 8e82f16a8a
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,29 @@
<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="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,11 @@
namespace TagManager.Tests
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}

View file

@ -15,6 +15,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TagManager.Client", "TagMan
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TagManager.Shared", "TagManager\TagManager.Shared\TagManager.Shared.csproj", "{F58948F2-2965-4B8D-A2E9-F84443EC6122}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TagManager.Tests", "TagManager.Tests\TagManager.Tests.csproj", "{A4DE6998-2833-444D-AE37-934BA2023C53}"
ProjectSection(ProjectDependencies) = postProject
{F58948F2-2965-4B8D-A2E9-F84443EC6122} = {F58948F2-2965-4B8D-A2E9-F84443EC6122}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -33,6 +38,10 @@ Global
{F58948F2-2965-4B8D-A2E9-F84443EC6122}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F58948F2-2965-4B8D-A2E9-F84443EC6122}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F58948F2-2965-4B8D-A2E9-F84443EC6122}.Release|Any CPU.Build.0 = Release|Any CPU
{A4DE6998-2833-444D-AE37-934BA2023C53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A4DE6998-2833-444D-AE37-934BA2023C53}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4DE6998-2833-444D-AE37-934BA2023C53}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4DE6998-2833-444D-AE37-934BA2023C53}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE