Skip to content

Korgys/oneheim

Repository files navigation

oneheim

A detailed roguelike in console.

Explore the region :

image

Discuss with NPCs :

image

Fights various enemies :

image

How to run unit tests and show code coverage

1. Run tests and collect data

cd Roguelike.Core.Tests
dotnet test --collect:"XPlat Code Coverage"

Coverage results will be saved under: TestResults/<GUID>/coverage.cobertura.xml

2. Use ReportGenerator to create an HTML report

reportgenerator -reports:TestResults/**/coverage.cobertura.xml -targetdir:coveragereport

3. Open the report in your browser

The report will be generated in coveragereport/index.html

Windows

start coveragereport/index.html

macOS

open coveragereport/index.html

Linux

xdg-open coveragereport/index.html

About

A detailled roguelike in console

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors