Created
July 4, 2020 13:57
-
-
Save jamesmcroft/bb220a8cadb7e63f1f967bee497e767d to your computer and use it in GitHub Desktop.
A sample test project file with coverlet installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
<IsPackable>false</IsPackable> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="coverlet.msbuild" Version="2.9.0"> | |
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | |
<PrivateAssets>all</PrivateAssets> | |
</PackageReference> | |
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.3" /> | |
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.3" /> | |
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" /> | |
<PackageReference Include="Moq" Version="4.13.1" /> | |
<PackageReference Include="nunit" Version="3.12.0" /> | |
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" /> | |
</ItemGroup> | |
<ItemGroup> | |
<ProjectReference Include="..\MyProject\MyProject.csproj" /> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment