Skip to content

Commit eeef89f

Browse files
mshanemcclaude
andcommitted
refactor(apex-testing): concise ADR docs, drop year drift - W-23165780
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 31c4740 commit eeef89f

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# Discover Apex tests via the org's Tooling Test Discovery API, not an Apex LS (Jorje) workspace scan
22

3-
Was: Jorje workspace discovery — tests sourced from the local Apex language server's project scan. Now (2025/2026): the org-based Tooling REST Test Discovery API (`>= v65.0`), keyed on a live org connection.
3+
- was: Jorje workspace discovery (local Apex LS project scan)
4+
- now: org-based Tooling REST Test Discovery API (`>= v65.0`); requires live org connection
45

5-
Consequence: runnable = tests discovered in the org. Undeployed project classes are absent from the org, so they don't appear in the tree until deployed — an org-discovery consequence, not an enforced deploy step (no in-code deploy gate).
6+
Consequence:
67

7-
Trade-off: discovery needs a live org connection — no offline tree.
8+
- runnable = tests discovered in the org
9+
- undeployed project classes absent from tree until deployed (org-discovery consequence; no in-code deploy gate)
10+
11+
Trade-off:
12+
13+
- discovery needs live org connection — no offline tree
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Surface Apex tests through the VS Code Test API, not a custom TreeView
22

3-
Drivers: web rewrite; bundled Test API wins for free — filtering (org-only vs project via TestTags), search box, namespace/package tree ([ADR 0002](./0002-test-discovery-api.md) feeds the items).
3+
- drivers: web rewrite; bundled Test API — filtering (org-only vs project via TestTags), search box, namespace/package tree ([ADR 0002](./0002-test-discovery-api.md) feeds the items)
44

5-
Trade-off: the Test API object model forces a class shell (`ApexTestController` wrapping `vscode.tests.createTestController`).
5+
Trade-off:
66

7-
Delegate-command lens routing is unchanged — see [ADR 0001](./0001-codelens-delegate-commands.md).
7+
- Test API object model forces a class shell (`ApexTestController` wrapping `vscode.tests.createTestController`)
8+
9+
- delegate-command lens routing unchanged — see [ADR 0001](./0001-codelens-delegate-commands.md)

0 commit comments

Comments
 (0)