1
0

unit tests: coverage, settings

This commit is contained in:
2026-02-21 14:15:08 +02:00
parent ad55b1109d
commit 753a6e0e1d
7 changed files with 305 additions and 3 deletions

9
coverage.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
cmake -S . -B build/Coverage -DCMAKE_BUILD_TYPE=Debug -DENABLE_COVERAGE=ON
cmake --build build/Coverage --config Debug
ctest --test-dir build/Coverage --output-on-failure
cmake --build build/Coverage --target coverage
echo "Coverage report: file://$(pwd)/build/Coverage/coverage/index.html"