Release Notes
Added
pbot tc manages the test cases of a project: tc ls (filters --module, --priority,
--issue, --status, --search), tc show, tc create, tc update, tc steps, tc issues
(--add / --remove), tc delete, and tc module ls / tc module create for the registry of
the module codes. A case needs six mandatory header fields — --title, --purpose,
--object-overview, --priority, --precondition, --environment — and at least one step,
written as --step "action | expected result" or handed over as a whole table with
--steps-file (a JSON array, or one action | expected result per line). The server assigns
the number of a case; the number and the module of a case cannot be changed afterwards.
pbot run manages the test runs (batches) of a project: run ls (filters --status,
--run-date), run show, run create (--version, --build, --commit, --environment,
--run-date, --retest-of, --executed-by), run add, run step, run conclude, run remove,
run finalize and run summary. run step writes the verdict and the measured value of one
step (--verdict, --actual, --actual-file, --image), run conclude writes the conclusion
of one case (--conclusion, --evidence, --evidence-file, --image, --remarks,
--actual-result-summary, --na-reason, --na-criteria-source, --manual-executor,
--manual-condition). Both ask before they write — a terminal is prompted, a script passes
--yes — and no flag overwrites a verdict that is already recorded. The measured value and the
evidence reach the server as they were typed, byte for byte.
- The refusals of the test-case feature name the stable code the server answered with
(conclusion_is_final, evidence_missing, run_executed_by_missing, duplicate_case_number,
run_completed, module_code_format, …) next to the sentence of the server, so a script can
tell a validation failure (exit 5) from a permission failure (exit 2) or a transport failure
(exit 4) without reading prose.
- A refused write now shows the remedy of the reason it was refused for, not the one of the
code that wraps it: a second conclusion is refused with invalid_payload around
conclusion_is_final, and the hint now says that a conclusion is written once and that there
is no flag that overwrites it.
Fixed
- The release workflow builds the Apple Silicon macOS artefact on
macos-15. GitHub deprecated
the macos-14 image, so the aarch64-apple-darwin job was cancelled the moment it was queued
— no runner, no log — and every job behind it (the global artefacts, the .dmg, the MSI, the
Debian packages, the Homebrew formula) was skipped: a tagged release produced no artefacts at
all. The runner label is now set explicitly in dist-workspace.toml; the other four targets
keep the labels cargo-dist picks for them.
- A batch the server answers with a
null for — no executor, a case record whose test case was
deleted — no longer refuses the whole document: run ls and run show read it, and the JSON
carries the empty string for the field, the shape every other absent field of a record has. The
--json contract of the two commands does not change.
Documentation
- The README and the agent skill gained a Test cases section with the end-to-end flow —
register a module, create a case, create a batch, add the case, write a failing step with a
screenshot, write the case conclusion with case-level evidence, close the batch, and see the
second conclusion write refused — and the command reference documents every command and flag of
both groups, the exit-code classes, the evidence rule (a screenshot of a step does not satisfy
the finalize; the evidence hangs on the case), the UTC --run-date edge, and the shapes of
Markdown the local pre-check and the server do not read the same way.
- AGENTS.md now states plainly that a green local
make check is necessary but not sufficient:
the local gate covers fmt, clippy and the tests on one platform, and the platform-sensitive
paths are only exercised by the CI matrix on Linux, macOS and Windows.
Install pbotcli-cli 1.6.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Liewzheng/pbotcli/releases/download/v1.6.0/pbotcli-cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Liewzheng/pbotcli/releases/download/v1.6.0/pbotcli-cli-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install Liewzheng/tap/pbotcli
Download pbotcli-cli 1.6.0