Added coverage report

This commit is contained in:
AlexanderHD27
2025-06-07 03:12:16 +02:00
parent 1f399905a6
commit d59483afa8
3 changed files with 1631 additions and 1 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"coverage-gutters.coverageReportFileName": "coverage/**/lcov.info",
}

35
.vscode/tasks.json vendored
View File

@@ -25,7 +25,7 @@
],
"group": "test",
"label": "rust: cargo test",
"presentation": {
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
@@ -33,6 +33,39 @@
"showReuseMessage": true,
"clear": true
}
},
{
"type": "cargo",
"label": "cargo: coverage",
"command": "llvm-cov",
"args": ["--lcov", "--output-path", "coverage/lcov.info"],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
},
},
{
"type": "shell",
"label": "generate coverage report",
"command": "lcov-summary",
"args": [
"coverage/lcov.info"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": [],
"dependsOrder": "sequence",
"dependsOn": "cargo: coverage"
}
]
}

1594
coverage/lcov.info Normal file

File diff suppressed because it is too large Load Diff