zhangxinyao88 commented on issue #403:
URL: 
https://github.com/apache/fineract-backoffice-ui/issues/403#issuecomment-5419731357

   Current migration tracker. The counts below are from current `main`; the 
original 192-spec count is now stale because specs have both migrated and been 
added since this issue was opened.
   
   **Why this migration exists**
   
   Karma and Angular’s Karma builder are being phased out. The repository 
currently maintains two test runners, two filename conventions, and two mocking 
dialects. The goal is to move the existing tests without changing their 
behaviour, reach zero Karma specs, and then remove the Karma builder and 
related configuration.
   
   The combined Karma + Vitest test count should not decrease during the 
migration.
   
   **Current progress**
   
   - 153 Vitest files
   - 83 Karma files
   - 236 total test files
   - About 65% migrated
   
   **Sub-issues**
   
   - [x] #404 — system administration, completed by #445
   - [x] #405 — accounting, completed by #441
   - [ ] #406 — clients and loans
     - Clients: 13 files claimed, no PR yet
     - Loans: 13 files in #453; commit-signature check is currently failing
   - [x] #407 — organization and working capital, completed by #433
   - [ ] #409 — products: 31 files remain on `main`; claimed, no migration PR 
yet
   - [ ] #410 — specs requiring manual decisions
     - Four files in #456; CI is green
     - Three throwing-mock files in #457
     - Remaining manual checklist: 
https://github.com/apache/fineract-backoffice-ui/issues/410#issuecomment-5418797763
   - [ ] #411 — smaller feature areas
     - Mechanical migrations are complete
     - The final four manual files are in #456
   
   **Work currently in PRs**
   
   - #453 — 13 files
   - #456 — 4 files
   - #457 — 3 files
   
   If all three merge, the project will reach 173 Vitest files and 63 Karma 
files, or about 73% migrated.
   
   Of those 63 remaining files:
   
   - 44 belong to the already-claimed clients and products batches
   - 5 are unclaimed mechanical migrations
   - 14 are unclaimed manual migrations
   
   The five unclaimed mechanical files are:
   
   - `projects/fineract-mfe/src/app/app.spec.ts`
   - `src/app/app.component.spec.ts`
   - `features/groups/group-action-dialog.component.spec.ts`
   - `features/groups/group-form.component.spec.ts`
   - `features/groups/tabs/group-accounts-tab.component.spec.ts`
   
   #403 is complete when `check:test-runner` reports zero Karma specs and the 
Karma builder can be removed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to