Repository navigation
refactor(tests): register higher-tier suites and colocate units - #1715
Merged
Merged
Conversation
Record central suite typechecking in CI and derive central area routing only from the suite registry. Retire the completed plan under the repository plan contract. Acceptance: full Vitest 895 passed files / 7573 passed cases / 8 existing skips; integration 1509 passed / 6 existing skips; workflow 104 passed; critical 18 passed including all 15 required evidence refs. Root, UI, central tests and CLI/UTA/Guardian/IBKR/OpenTypeBB typechecks passed. All 167 one-to-one relocations preserve owner/lane/area/package selection. Net 14 existing cases removed; no new cases or product assertions. Native, artifact, external-provider and live-paper acceptance is not claimed.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Existing tests mixed units, module integration and process journeys in implementation folders, while 18 assertion matrices duplicated test titles and made ordinary unregistered units look like missing coverage. This change completes the existing-test hierarchy plan: colocated units need no registration; integration and E2E suites live under their topic directories and register files or dedicated runners once.
Result
coverage.jsonmatrices and their parser. Preserve the original 15 critical assertion references directly intests/gates.json, including rejection of missing/skipped/failed evidence and narrowed gate runs.--tier,--suite,test:unit,test:integration,test:e2eandtest:suites. Tier is independent of execution conditions; external/live/native runners remain explicit. Rename the misleading integration Vitest config, preserve package-local selection, and remove redundant area lists/configs.Subtraction, without new tests
Net 14 existing cases removed: six IBKR constructor-default checks, five terminal CSS/source-text checks, two third-party API-shape/self-equality checks, and one obsolete partial-registration framework case. Existing IBKR wire formatting/debug rendering and terminal behavior tests remain. TWSE/IBKR colocation produces three more spec files overall, despite fewer cases. No new test cases or product assertions were added. Earlier pruning and the first five integration moves were delivered in #1695 and #1712.
Verification
Verified against current
dev(b92c5abf), including #1713's relocated UI changes:pnpm test: 895 files passed, 1 skipped; 7,573 cases passed, 8 existing skips, zero failures.pnpm test:integration: 112 files passed, 1 skipped; 1,509 cases passed, 6 existing skips. Both hermetic module integration and the five serialized local integration files executed.pnpm test:critical: 18 passed; all 15 required assertion references satisfied, none skipped or omitted.pnpm test:contract:workflow: 104 passed.git diff --checkpassed. AST comparison againstdev: 14 fewer test declarations and 51 fewer expectations.This is local source/fixture acceptance. Existing platform skips remain; no real broker, public provider, packaged Electron, signed artifact or separate native-platform acceptance was run. Registration completeness does not claim that missing product coverage has been filled. Draft for maintainer acceptance; do not merge automatically.