Bashunit 0.36.0 – 지점 적용 범위, NPM 배포 및 더 빠른 보고서
hackernews
|
|
📦 오픈소스
#오픈소스
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
Bashunit 0.36.0 버전은 다운로드 실패 시 오류를 명확히 표시하고, 실패한 assertion의 출력을 보여주는 등 버그를 수정하고 기능을 개선했습니다. NPM 레지스트리 배포를 통해 설치가 가능해졌으며, LCOV 보고서에 분기 및 함수 레코드를 포함하여 코드 커버리지를 강화했습니다. 또한 단일 패스 파일 스캔과 캐싱을 적용해 커버리지 보고서 생성 속도를 높이는 성능 최적화가 이루어졌습니다.
본문
🐛 Bug Fixes bashunit upgrade exits non-zero with a clear error when the download fails (no more false success message) ✨ Improvements --show-output displays captured test output on assertion failures (#637)- npm registry distribution: npm install -g bashunit (#244) bashunit::env::supports_color andbashunit::io::clear_screen helpers (#247)- LCOV reports now include FN ,FNDA ,FNF andFNH function records, consumed bygenhtml , Codecov and Coveralls - LCOV reports now include BRDA ,BRF andBRH branch records forif /elif /else chains andcase patterns (seeadrs/adr-007-branch-coverage-mvp.md ) BASHUNIT_COVERAGE_SHOW_FUNCTIONS=true adds a per-function coverage block to the text reportBASHUNIT_COVERAGE_SHOW_UNCOVERED=true adds an "Uncovered Lines" block to the text report, with consecutive line numbers compressed into ranges 🛠️ Changes - Docs moved into their own npm workspace under docs/ (usecd docs && npm ci ormake docs/install ) - Pre-commit hook skips the test suite when no shell files are staged - ANSI escapes route through _BASHUNIT_COLOR_* constants (#247) ⚡ Performance - Faster coverage report generation: single-pass file scan, native bash regex, cached file stats (#636) Internal bashunit::runner::run_test split into nine named helpers (no behavior change)release.sh handlesdocs/package.json as a first-class release file- Structural test guards root package.json against regaining dependencies or scripts 👥 Contributors Checksum SHA256: 29bffc3d492296c859640f7425a66f7ae0549e667e5265e3e84859a828edbf64 Full Changelog: 0.35.0...0.36.0
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유