Skip to content

docs: rename TestBox to WheelsTest across forward-looking docs#2127

Merged
bpamiri merged 1 commit intodevelopfrom
peter/rename-testbox-to-wheelstest-sweep
Apr 16, 2026
Merged

docs: rename TestBox to WheelsTest across forward-looking docs#2127
bpamiri merged 1 commit intodevelopfrom
peter/rename-testbox-to-wheelstest-sweep

Conversation

@bpamiri
Copy link
Copy Markdown
Collaborator

@bpamiri bpamiri commented Apr 16, 2026

Summary

Repo-wide sweep applying the three-bucket rename rubric to 20 forward-looking documentation files. Companion to #2125 (3.0 → 4.0 comparison) and #2126 (audit + CHANGELOG follow-up). Closes the bulk of the TestBoxWheelsTest rename work across the documentation surface.

Rubric applied (from #2126):

Bucket Treatment
Current framework identity Rename → WheelsTest
BDD style/pattern name Drop qualifier → BDD syntax
Historical / rename-event / upstream-project references Preserved

Files touched (20 total, 75 insertions / 74 deletions)

User-facing docs:

  • docs/wheels-vs-frameworks.md (parity comparison)
  • docs/src/working-with-wheels/{directory-structure,end-to-end-testing,browser-testing}.md
  • docs/src/command-line-tools/cli-guides/testing.md
  • tests/README.md

Developer-facing:

  • CLAUDE.md, CONTRIBUTING.md

Claude reference docs (.ai/wheels/):

  • testing/{browser-testing,unit-testing}.md
  • {views,controllers,models}/testing.md

Examples:

  • examples/{README,starter-app/README,tweet/AGENTS}.md
  • examples/tweet/.claude/skills/{README,SKILLS-QUICK-START}.md

Packages:

  • packages/{legacyadapter/README,sentry/CLAUDE}.md

Legitimate retentions (per bucket 3)

These references deliberately kept:

What Where Why
"formerly TestBox" CONTRIBUTING.md:207-208 Historical provenance
testbox.ortusbooks.com URLs with "upstream TestBox docs" labels Several Genuine upstream-project references for BDD syntax
this.testbox = {...} Application.cfc property cli-guides/testing.md:407 CFML back-compat convention that WheelsTest preserves
/tmp/testbox_results.json temp filenames .ai/wheels/testing/unit-testing.md:131-132 Example shell-command temp file, cosmetic only

Bonus correctness fixes caught during sweep

  • Stale directory tree in docs/src/working-with-wheels/directory-structure.md:48-49 — listed tests/TestBox/ which doesn't exist in the actual filesystem. Changed to tests/specs/ to match reality.
  • CLI command modernization in tests/README.md and examples/starter-app/README.mdbox testbox runwheels test run, matching the canonical Wheels CLI form documented in CLAUDE.md's Testing Quick Reference.
  • .ai/wheels/{views,controllers,models}/testing.md — "Modern TestBox Resources" sections retitled to "BDD Reference — Upstream TestBox Docs" with explicit clarification that WheelsTest inherits the BDD syntax from upstream Ortus TestBox. Link text stripped of TestBox prefix since the section heading already establishes provenance.

Deferred to editorial follow-up PRs

These files have complex mixes of stale code snippets, CommandBox CLI commands, external URLs, and prose that need per-line editorial judgment beyond mechanical rename:

  • docs/src/working-with-wheels/testing-your-application.md (39 refs) — has outdated testbox.system.TestBox(...) code paths that need functional update to wheels.wheelstest.system.TestBox(...) per the actual tests/runner.cfm
  • cli/WHEELS-CLI-ROADMAP.md (15 refs) — roadmap doc, needs forward-looking vs historical classification
  • examples/tweet/.claude/commands/wheels_execute.md (10 refs) + .opencode/command/wheels_execute.md (11 refs) — tweet example commands that need verification they still work

Out of scope

  • docs/superpowers/plans/** and docs/superpowers/specs/** — historical planning artifacts. Per bucket 3, these describe what was planned at the time with the names that existed then. Retroactively rewriting them would erase provenance of contemporaneous decision-making.

Test plan

  • All 20 modified files: grep confirms remaining TestBox refs are in bucket-3 retention category
  • replace_all on "TestBox BDD" was applied to 3 .ai/ files; link-text collisions fixed by rewriting the Upstream BDD Reference section wholesale
  • Cross-checked against actual tests/runner.cfm to pick the correct namespace (wheels.wheelstest.system.*) before deciding what's current vs stale
  • Manual reviewer scan of the diff for any retention-vs-rename judgment that should flip

🤖 Generated with Claude Code

Repo-wide sweep applying the three-bucket rename rubric to 20 forward-
looking documentation files. Companion to #2125 (comparison doc) and
#2126 (audit + CHANGELOG follow-up).

Rubric applied:
  1. Current framework identity → rename to WheelsTest
  2. BDD style/pattern name → drop TestBox qualifier, use "BDD syntax"
  3. Historical / rename-event / upstream-project references → preserved

Files updated (20 total):
  - docs/wheels-vs-frameworks.md
  - CLAUDE.md, CONTRIBUTING.md
  - docs/src/working-with-wheels/{directory-structure,end-to-end-testing,
    browser-testing}.md
  - docs/src/command-line-tools/cli-guides/testing.md
  - tests/README.md
  - .ai/wheels/testing/{browser-testing,unit-testing}.md
  - .ai/wheels/{views,controllers,models}/testing.md
  - examples/{README,starter-app/README,tweet/AGENTS}.md
  - examples/tweet/.claude/skills/{README,SKILLS-QUICK-START}.md
  - packages/{legacyadapter/README,sentry/CLAUDE}.md

Legitimate retentions (per rubric bucket 3):
  - "formerly TestBox" history notes in CONTRIBUTING.md
  - Upstream URL labels pointing to testbox.ortusbooks.com
    (framed as "Upstream TestBox Docs" for BDD syntax reference)
  - this.testbox CFML Application.cfc property (back-compat convention)
  - /tmp/testbox_results.json temp-file names in shell examples

CLI command updates where code paths exist:
  - `box testbox run` → `wheels test run` in tests/README.md and
    examples/starter-app/README.md (matches Wheels CLI canonical form
    per CLAUDE.md's testing quick reference)

Upstream reference reframing in .ai/wheels/{views,controllers,models}/
testing.md: "Modern TestBox Resources" section retitled to "BDD Reference
— Upstream TestBox Docs" with explicit note that WheelsTest inherits the
BDD syntax from upstream Ortus TestBox.

Deferred to editorial follow-up PRs (complex mix of stale code,
CommandBox commands, URLs, and prose requiring verification):
  - docs/src/working-with-wheels/testing-your-application.md (39 refs)
  - cli/WHEELS-CLI-ROADMAP.md (15 refs)
  - examples/tweet/.{claude/commands,opencode/command}/wheels_execute.md

Out of scope (historical planning artifacts, per rubric bucket 3):
  - docs/superpowers/plans/**
  - docs/superpowers/specs/**

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the docs label Apr 16, 2026
bpamiri added a commit that referenced this pull request Apr 16, 2026
Editorial follow-up to #2127. Updates the main user-facing testing
guide for the WheelsTest rename, plus fixes stale code paths to
match the actual tests/runner.cfm implementation.

Scope (39 refs → 10 legitimate retentions):

Stale code paths corrected to match tests/runner.cfm:99-246:
  - testbox.system.TestBox → wheels.wheelstest.system.TestBox
  - testbox.system.reports.JSONReporter → wheels.wheelstest...
  - testbox.system.reports.TextReporter → wheels.wheelstest...
  - testbox.system.reports.ANTJUnitReporter → wheels.wheelstest...

Framework-identity references renamed:
  - TestBox 6 → WheelsTest (drops upstream version qualifier)
  - "TestBox Features" heading → "WheelsTest Features"
  - "TestBox Test Runner Configuration" → "WheelsTest Test Runner
    Configuration"
  - "TestBox testing URLs" → "WheelsTest URLs"
  - JSON-output section renamed to reference WheelsTest runner
  - `// load testbox routes` comment → `// load wheelstest routes`
  - Migration section: "Legacy RocketUnit to TestBox" → "to WheelsTest"

Upstream URL references reframed (keeping URLs, clarifying provenance):
  - "official TestBox documentation" → "upstream TestBox documentation"
  - Each ortusbooks.com link labeled with "upstream" and where
    appropriate "(WheelsTest preserves the same API)"

Intro paragraph rewritten to establish provenance: "WheelsTest —
Wheels' in-house testing framework (a fork of Ortus TestBox)".

Legitimate retentions (10):
  - 1 fork-explanation reference (intro)
  - 8 upstream URL labels pointing to testbox.ortusbooks.com
  - 1 code variable name `testBox = new wheels.wheelstest.system.
    TestBox(...)` — matches actual runner.cfm convention

Preserved historical references:
  - Sections describing pre-Wheels-3.0 RocketUnit legacy
  - "Wheels 3.0" framing where specifically describing the 3.0 release

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bpamiri added a commit that referenced this pull request Apr 16, 2026
Editorial follow-up PR to #2127 and #2128. Covers the last three files
deferred from the sweep:

WHEELS-CLI-ROADMAP.md (cli/):
  Added a status banner at the top of the document noting that the
  testing-strategy sections predate the WheelsTest fork decision. The
  roadmap originally proposed integrating the external commandbox-
  testbox-cli module; the actual direction was to fork TestBox in-house
  as WheelsTest. Rather than rewriting the strategy sections (out of
  scope for rename), the banner makes the historical context clear and
  flags for a separate editorial pass.

  References preserved as-is for historical traceability:
    - Section 4 "Advanced Testing (via TestBox CLI Module)"
    - Leverage Existing Modules item 1
    - Phase 1 Module Integration
    - CommandBox Integration Points
    - box.json dependency listing for commandbox-testbox-cli
    - Recommended Module Installation section

examples/tweet/.claude/commands/wheels_execute.md (10 refs):
  - TestBox BDD → WheelsTest BDD (descriptive references)
  - testbox.system.TestBox → wheels.wheelstest.system.TestBox (code)
  - application.testbox → application.wheelstest (CFML scope)
  - "Use TestBox's beforeEach/afterEach" → "Use WheelsTest's …"

examples/tweet/.opencode/command/wheels_execute.md (11 refs):
  Same treatment as the .claude/commands variant — this is the mirror
  opencode command file.

Closes the TestBox → WheelsTest rename initiative across all forward-
looking doc files. Only historical references, upstream URL labels,
and the roadmap's preserved strategy sections remain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bpamiri bpamiri merged commit 19b4c9f into develop Apr 16, 2026
5 checks passed
@bpamiri bpamiri deleted the peter/rename-testbox-to-wheelstest-sweep branch April 16, 2026 21:06
bpamiri added a commit that referenced this pull request Apr 16, 2026
Editorial follow-up to #2127. Updates the main user-facing testing
guide for the WheelsTest rename, plus fixes stale code paths to
match the actual tests/runner.cfm implementation.

Scope (39 refs → 10 legitimate retentions):

Stale code paths corrected to match tests/runner.cfm:99-246:
  - testbox.system.TestBox → wheels.wheelstest.system.TestBox
  - testbox.system.reports.JSONReporter → wheels.wheelstest...
  - testbox.system.reports.TextReporter → wheels.wheelstest...
  - testbox.system.reports.ANTJUnitReporter → wheels.wheelstest...

Framework-identity references renamed:
  - TestBox 6 → WheelsTest (drops upstream version qualifier)
  - "TestBox Features" heading → "WheelsTest Features"
  - "TestBox Test Runner Configuration" → "WheelsTest Test Runner
    Configuration"
  - "TestBox testing URLs" → "WheelsTest URLs"
  - JSON-output section renamed to reference WheelsTest runner
  - `// load testbox routes` comment → `// load wheelstest routes`
  - Migration section: "Legacy RocketUnit to TestBox" → "to WheelsTest"

Upstream URL references reframed (keeping URLs, clarifying provenance):
  - "official TestBox documentation" → "upstream TestBox documentation"
  - Each ortusbooks.com link labeled with "upstream" and where
    appropriate "(WheelsTest preserves the same API)"

Intro paragraph rewritten to establish provenance: "WheelsTest —
Wheels' in-house testing framework (a fork of Ortus TestBox)".

Legitimate retentions (10):
  - 1 fork-explanation reference (intro)
  - 8 upstream URL labels pointing to testbox.ortusbooks.com
  - 1 code variable name `testBox = new wheels.wheelstest.system.
    TestBox(...)` — matches actual runner.cfm convention

Preserved historical references:
  - Sections describing pre-Wheels-3.0 RocketUnit legacy
  - "Wheels 3.0" framing where specifically describing the 3.0 release

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
bpamiri added a commit that referenced this pull request Apr 16, 2026
)

Editorial follow-up PR to #2127 and #2128. Covers the last three files
deferred from the sweep:

WHEELS-CLI-ROADMAP.md (cli/):
  Added a status banner at the top of the document noting that the
  testing-strategy sections predate the WheelsTest fork decision. The
  roadmap originally proposed integrating the external commandbox-
  testbox-cli module; the actual direction was to fork TestBox in-house
  as WheelsTest. Rather than rewriting the strategy sections (out of
  scope for rename), the banner makes the historical context clear and
  flags for a separate editorial pass.

  References preserved as-is for historical traceability:
    - Section 4 "Advanced Testing (via TestBox CLI Module)"
    - Leverage Existing Modules item 1
    - Phase 1 Module Integration
    - CommandBox Integration Points
    - box.json dependency listing for commandbox-testbox-cli
    - Recommended Module Installation section

examples/tweet/.claude/commands/wheels_execute.md (10 refs):
  - TestBox BDD → WheelsTest BDD (descriptive references)
  - testbox.system.TestBox → wheels.wheelstest.system.TestBox (code)
  - application.testbox → application.wheelstest (CFML scope)
  - "Use TestBox's beforeEach/afterEach" → "Use WheelsTest's …"

examples/tweet/.opencode/command/wheels_execute.md (11 refs):
  Same treatment as the .claude/commands variant — this is the mirror
  opencode command file.

Closes the TestBox → WheelsTest rename initiative across all forward-
looking doc files. Only historical references, upstream URL labels,
and the roadmap's preserved strategy sections remain.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant