mirror of
https://github.com/MAKS-IT-COM/uscheduler.git
synced 2026-04-01 00:32:10 +02:00
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
"title": "Generate Coverage Badges Script Settings",
|
|
"description": "Configuration for Generate-CoverageBadges.ps1 script",
|
|
"openReport": false,
|
|
"paths": {
|
|
"testProject": "..\\..\\src\\MaksIT.UScheduler.Tests",
|
|
"badgesDir": "..\\..\\assets\\badges"
|
|
},
|
|
"badges": [
|
|
{
|
|
"name": "coverage-lines.svg",
|
|
"label": "Line Coverage",
|
|
"metric": "line"
|
|
},
|
|
{
|
|
"name": "coverage-branches.svg",
|
|
"label": "Branch Coverage",
|
|
"metric": "branch"
|
|
},
|
|
{
|
|
"name": "coverage-methods.svg",
|
|
"label": "Method Coverage",
|
|
"metric": "method"
|
|
}
|
|
],
|
|
"colorThresholds": {
|
|
"brightgreen": 80,
|
|
"green": 60,
|
|
"yellowgreen": 40,
|
|
"yellow": 20,
|
|
"orange": 10,
|
|
"red": 0
|
|
},
|
|
"_comments": {
|
|
"openReport": "If true, generate and open full HTML coverage report (requires reportgenerator tool).",
|
|
"paths": {
|
|
"testProject": "Relative path to test project used by TestRunner.",
|
|
"badgesDir": "Relative path where SVG coverage badges are written."
|
|
},
|
|
"badges": "List of output badges. Each entry maps a metric key (line|branch|method) to filename and label.",
|
|
"colorThresholds": "Coverage percentage thresholds used to pick badge colors."
|
|
}
|
|
}
|