Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.63 KB

README.md

File metadata and controls

64 lines (46 loc) · 1.63 KB

Collection.CSharp

Collection.CSharp is a C# class library containing some collection classes, which we don't need frequently but sometimes. It depends on .NET Standard 2.1.

It contains the following classes:

API Reference

How to build

Requirements for build

Build

git clone URL
cd Collection.CSharp
dotnet build

Get the test coverage report with Coverlet

Install ReportGenerator as follows:

dotnet tool install -g dotnet-reportgenerator-globaltool

Run all tests and get the report in the file Coverlet-html/index.html:

rm -rf MsTestResults
dotnet test --collect:"XPlat Code Coverage" --results-directory MsTestResults \
  && reportgenerator -reports:MsTestResults/*/coverage.cobertura.xml \
    -targetdir:Coverlet-html