Add coverlet collector for code coverage creation via dotnet test
MODIFY
src/ChapterTests.props
src/ChapterTests.props
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
+ <PackageReference Include="coverlet.collector" Version="3.0.3">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
+ </PackageReference>
<PackageReference Update="coverlet.msbuild" Version="3.0.0" />
<!--<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.3" />-->
<!--<PackageReference Update="MSTest.TestAdapter" Version="2.1.2" />-->

Add coverlet collector for code coverage creation via dotnet test