Skip to content

arbitrarybytes/arbitrary-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrary Extensions

A .NET Standard 2.0 library consisting of a ton of very useful C# extension methods.

Build status BCH compliance Coverage

Running Tests

Browse to the ArbitraryExtensions.Tests directory and execute the below command.

dotnet test /p:CollectCoverage=true "/p:CoverletOutputFormat=\"lcov,cobertura\"" /p:CoverletOutput=coverage/

Generating Reports

Install the global report generator tool:

dotnet tool install -g dotnet-reportgenerator-globaltool

Generate the report:

reportgenerator "-reports:coverage/*.info" "-targetdir:coverage/reports" -reporttypes:HtmlInline;Badges -historydir:coverage/reports/history

To run test and generate code coverage report, a handy batch file is available:

coverage-gen.bat