Skip to content

arbitrarybytes/arbitrary-extensions

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

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