Add a new bashdep:: lifecycle command with TDD
中文简介正在准备中。当前显示原文说明。
Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Two-part health check:
bashdep::* command must have tests
for its happy path, mode flags, and failure modes.bashdep::doctor itself reports lockfile vs
filesystem inconsistencies; verify it covers every relevant directory.grep -nE '^function bashdep::[a-z]' bashdep | grep -v '::_'
That list is the source of truth for what needs coverage.
For each public function:
grep -nE "bashdep::<name>\b" tests/unit/bashdep_test.sh
For each, check coverage of:
BASHDEP_DRY_RUN=trueBASHDEP_SILENT=trueBASHDEP_VERBOSE=trueBASHDEP_FORCE=true (when relevant)Priority 1: Any public bashdep::* function with zero tests
Priority 2: Mutating commands missing dry-run coverage (silently
breaking the contract is the easiest regression to ship)
Priority 3: Failure paths (return 1) with no test
Priority 4: Snapshot drift - re-run the suite; if any snapshot
mismatch appears, decide drift vs regression
In the demo workspace (example/) or a scratch dir:
( cd example && bash demo.sh )
# Then, from the same dir:
source bashdep && bashdep::doctor
Confirm bashdep::doctor:
OK when lockfile and dir matchmissing file when the lockfile entry has no on-disk fileorphan file when a file in the dir has no lockfile entryBASHDEP_SILENT (errors still on stderr)Output a markdown report with:
bashdepbashdep::* functions have ≥1 testdry-run coveragebashdep::doctor exercised in the test suite for: missing file,
orphan file, OK case还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Add a new bashdep:: lifecycle command with TDD
中文简介正在准备中。当前显示原文说明。
Stage and commit changes using conventional commits format
中文简介正在准备中。当前显示原文说明。
Debug and fix failing bashdep tests systematically
中文简介正在准备中。当前显示原文说明。
Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR
中文简介正在准备中。当前显示原文说明。
Push branch and create a GitHub PR following the bashdep PR template
中文简介正在准备中。当前显示原文说明。
Run a comprehensive pre-release validation checklist for bashdep
中文简介正在准备中。当前显示原文说明。