Initialize CBDD solution and add a .NET-focused gitignore for generated artifacts.

This commit is contained in:
Joseph Doherty
2026-02-20 12:54:07 -05:00
commit b8ed5ec500
214 changed files with 101452 additions and 0 deletions

17
scripts/coverage-check.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$repo_root"
echo "[coverage] dotnet test with coverage thresholds"
dotnet test tests/CBDD.Tests/ZB.MOM.WW.CBDD.Tests.csproj \
/p:CollectCoverage=true \
/p:CoverletOutputFormat=cobertura \
/p:Include="[ZB.MOM.WW.CBDD.Core*]*%2c[ZB.MOM.WW.CBDD.Bson*]*" \
/p:Exclude="[*.Tests]*" \
/p:Threshold=68 \
/p:ThresholdType=line%2cbranch \
/p:ThresholdStat=total
echo "[coverage] complete"