Files
tgstation-server/build/TestCommon.props
2025-08-29 12:33:45 -04:00

27 lines
1.3 KiB
XML

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Common.props" />
<ItemGroup>
<!-- Usage: Code coverage collection -->
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<!-- Usage: Logging specific for GitHub actions -->
<PackageReference Include="GitHubActionsTestLogger">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<!-- Usage: Hard to say what exactly this is for, but not including it removes the test icon and breaks vstest.console.exe for some reason -->
<PackageReference Include="Microsoft.NET.Test.Sdk" Condition="'$(TgsTestNoSdk)' != 'true'" />
<!-- Usage: Dependency mocking for tests -->
<!-- Pinned: Be VERY careful about updating https://github.com/moq/moq/issues/1372 -->
<PackageReference Include="Moq" />
<!-- Usage: MSTest execution -->
<PackageReference Include="MSTest.TestAdapter" />
<!-- Usage: MSTest asserts etc... -->
<PackageReference Include="MSTest.TestFramework" />
</ItemGroup>
</Project>