Skip to content

maroontress/Collection.CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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