Spaces:
Sleeping
Sleeping
|
Download manual-test-coverage/README.md from dangkhoa2016/Nodejs-JSON-API-Server: direct link, hf CLI and curl.
- Browser
- Download file 976 Bytes
-
https://huggingface.co/spaces/dangkhoa2016/Nodejs-JSON-API-Server/resolve/main/manual-test-coverage/README.md
- Command line
-
hf download hf://spaces/dangkhoa2016/Nodejs-JSON-API-Server/manual-test-coverage/README.md
-
curl -L -o README.md https://huggingface.co/spaces/dangkhoa2016/Nodejs-JSON-API-Server/resolve/main/manual-test-coverage/README.md
976 Bytes
Coverage Verification Tool
🌐 Language / Ngôn ngữ: English | Tiếng Việt
This directory contains a script to verify code coverage across commit history.
Files
verify-commit-coverage.sh— iterates each commit in a range, checks coverage, produces reportcoverage-report.md— generated markdown report (gitignored)results/— per-commit raw logs (gitignored)
Usage
From the project root:
bash manual-test-coverage/verify-commit-coverage.sh
Optionally specify a commit range:
bash manual-test-coverage/verify-commit-coverage.sh <base-sha> <head-sha>
Each commit is checked out, yarn test:coverage is run, coverage percentages are captured, and a markdown report is written to coverage-report.md.
Requirements
yarnandvitestwith--coverageconfigured- (Optional)
mise— if available, the script will use it to restore the Node.js runtime environment for each commit