From 068fab301746f144f0d78fb6b046a0326a32005c Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 21 Mar 2026 01:23:54 -0600 Subject: [PATCH] Add script --- scripts/run_coverage.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/run_coverage.sh diff --git a/scripts/run_coverage.sh b/scripts/run_coverage.sh new file mode 100644 index 00000000..c87d6096 --- /dev/null +++ b/scripts/run_coverage.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Run pytest with coverage +pytest tests --cov --cov-report=html:htmlcov + +# Open the coverage report in the default browser +if command -v open > /dev/null; then + open htmlcov/index.html +else + echo "Coverage report generated at: htmlcov/index.html" +fi \ No newline at end of file