Skip to content

test(cli): Hardener SHOULDs 3–6 prove-red - #3396

Merged
bpamiri merged 5 commits into
developfrom
cursor/wheelstest-shoulds-3-6-ab52
Aug 24, 2026
Merged

test(cli): Hardener SHOULDs 3–6 prove-red#3396
bpamiri merged 5 commits into
developfrom
cursor/wheelstest-shoulds-3-6-ab52

Conversation

@bpamiri

@bpamiri bpamiri commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Refs #3083.

Peter standing rule: finish the WheelsTest review SHOULDs. C1 / SHOULD 3 not reopened. C5 (CommandBox error() does not abort) prove-red at 28e2e9c92, green at e074c5265.

Filter / URL: GET http://localhost:8080/wheels/cli/tests?format=json. Isolate cli.lucli.tests.specs.commands.TestExitFailClosedSpec and cli.lucli.tests.specs.commands.HardenerShouldsSpec in bundleStats.

SHOULD PROVEN / UNPROVEN Evidence (filter, SHA, what fails)
3 — compile-skipped *Spec.cfc WARN → fail-closed PROVEN (tip #3395, not reopened) ebb48e5a1: $countSpecsFailedToLoad$cliTestResultFailed / $throwIfCliTestsFailed. TestExitFailClosedSpec its: "flags unloadable specs (specsFailedToLoad > 0)" and "throws Wheels.TestsFailed when specsFailedToLoad > 0". C1 (directoryRejected / bundlesDiscovered=0) left on tip. Empty testDirectory is not a live gap (runTests always sets resolvedDir). WARN copy still says "silently skipped" then the throw seam fires — not a soft-fail.
4 — docs teach silent full-suite / vacuous asserts PROVEN (content lock; Desk still reads the MDX) HardenerShouldsSpec SHOULD 4: guides name Wheels.TestsFailed / directoryRejected / bundlesDiscovered. quick-start.mdx no longer says a run with no failures exits 0.
5 / C5 — CommandBox error() does not abort PROVEN Red 28e2e9c92: findNoCase("testbox run", src) == 0 and error("DEPRECATED..."); return; failed while run.cfc still called command("testbox run") after error(). Green e074c5265: each frozen runner error() then return; with no testbox run. Same for all / unit / integration / coverage / watch / browser:test.
6 — orphan vendor/wheels/controllers/Tests.cfc PROVEN File deleted. Route lock: /wheels/core/testspublic##tests_testbox, /wheels/app/testswheels##public##testbox.

Required CI checks

  • Validate Commit Messages
  • Lucee 7 + SQLite (LuCLI)
  • Verify docs (cli/lucli/** and web/sites/guides/**)

Does not close.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 24, 2026 00:05
…dBox / orphan)

Lock residual gaps on tip ebb48e5: browser unloadable ignore, WARN
soft-fail copy, guides that still teach vacuous exit 0, CommandBox
test runners that swallow failing exits, and unrouted Tests.cfc.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
…drop orphan Tests.cfc

SHOULD 3 residual: $browserTestResultFailed takes specsFailedToLoad;
WARN no longer says silently skipped. SHOULD 4: guides name
Wheels.TestsFailed. SHOULD 5: CommandBox test runners error() instead
of swallowing TestBox exits. SHOULD 6: delete unrouted Tests.cfc.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
cursoragent and others added 3 commits August 24, 2026 00:12
Tip already fail-closes compile-skip via $countSpecsFailedToLoad
and $throwIfCliTestsFailed. Restore those helpers and the WARN copy.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
CommandBox error() does not abort. Specs now require no testbox run
and return immediately after the deprecation error().

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
error() does not abort. Each frozen test runner now returns immediately
and no longer invokes testbox run (C5).

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Peter Amiri <peter@alurium.com>
@bpamiri
bpamiri marked this pull request as ready for review August 24, 2026 00:31
@bpamiri
bpamiri merged commit 4e20fbf into develop Aug 24, 2026
20 checks passed
@bpamiri
bpamiri deleted the cursor/wheelstest-shoulds-3-6-ab52 branch August 24, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants