Skip to content

pedromsantos/cs-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# kata starter

This project contains a number of katas with instructions ordered in a proven path described in my book Agile Technical Practices Distilled.

Instructions

Build solution

dotnet build

Execute tests

dotnet test

Or use the TRX test reporting tool for enhanced console output:

dotnet test -l trx; trx

Execute tests with coverage

dotnet test --collect:"XPlat Code Coverage;IncludeTestAssembly=true;Format=cobertura"

Generate test coverage reports

reportgenerator -reports:"**/*coverage.cobertura.xml" -targetdir:'CoverageReports' -reporttypes:'Html_Dark' -assemblyfilters:-AutoGeneratedProgram -classfilters:"-AutoGeneratedProgram;-*.*Should;-*.*Test*;-*.*TestDataGenerator"

View coverage report

Open CoverageReports/index.html in your browser to view the detailed coverage report.

Prerequisites

  • .NET 8.0 SDK or later
  • ReportGenerator tool (install via dotnet tool install -g dotnet-reportgenerator-globaltool)

Project Structure

  • /src - Contains the source code for the katas
  • /test - Contains the test projects

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published