Expand Seg task coverage and coverage dashboard

This commit is contained in:
2026-06-30 12:54:25 +08:00
parent dd7b7384ec
commit 7a43303f15
18 changed files with 849 additions and 28 deletions

View File

@@ -0,0 +1,8 @@
from app.coverage import get_coverage_report
def test_coverage_report_maps_user_scripts_and_builds_tasks():
report = get_coverage_report()
assert report["mapped_user_scripts"] == report["user_scripts_total"]
assert report["unmapped_user_scripts"] == []
assert report["task_build_passed"] is True