Frontmatter
| id | 8606 |
| title | Comprehensive Testing for Fragments |
| state | Closed |
| labels | aitestingcore |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 4:11 PM |
| updatedAt | Jan 13, 2026, 5:30 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8606 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 5:30 PM |
Comprehensive Testing for Fragments
tobiu added parent issue #8601 on Jan 13, 2026, 4:11 PM
tobiu cross-referenced by #8601 on Jan 13, 2026, 4:17 PM
tobiu assigned to @tobiu on Jan 13, 2026, 4:18 PM

tobiu
Jan 13, 2026, 5:28 PM
Input from Gemini 3 Pro:
✦ I have implemented and passed comprehensive tests for Fragments.
- Unit Tests:
FragmentHelper.spec.mjsandFragmentHelperDomApi.spec.mjsverify index calculation, attribute skipping, and delta generation for both renderers.- E2E Tests:
Fragment.spec.mjsverifies actual DOM structure (anchors, no wrapper) and correct layout participation in a browser environment using Playwright.This completes the testing requirements.
tobiu closed this issue on Jan 13, 2026, 5:30 PM
tobiu cross-referenced by #8607 on Jan 13, 2026, 5:37 PM
Part of Epic #8601.
Goal: Verify the functionality and stability of
Neo.container.Fragmentacross different scenarios.Tasks:
getPhysicalIndexcorrectly counts nested/sibling fragments.createDeltasgenerates correct fragment-level deltas (not exploded children).<!-- start --> ...children... <!-- end -->with NO wrapper element.