LearnNewsExamplesServices
Frontmatter
id8878
titleRestructure Testing Documentation (Phase 1: Component & Unit Guides)
stateClosed
labels
documentationai
assignees[]
createdAtJan 26, 2026, 11:03 AM
updatedAtJan 26, 2026, 11:17 AM
githubUrlhttps://github.com/neomjs/neo/issues/8878
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 26, 2026, 11:17 AM

Restructure Testing Documentation (Phase 1: Component & Unit Guides)

Closed v11.24.0 documentationai
tobiu
tobiu commented on Jan 26, 2026, 11:03 AM

Restructure the testing documentation to clearly separate Unit Testing from Component Testing.

Tasks:

  1. Create learn/guides/testing/ComponentTesting.md:
    • Document the "Real Browser" testing strategy using the empty-viewport app.
    • Explain the neo fixture API (test/playwright/fixtures.mjs) for creating/manipulating components.
    • Explain the single-worker constraint.
  2. Rename & Update learn/guides/testing/Playwright.md:
    • Rename to learn/guides/testing/UnitTesting.md.
    • Update content to explicitly focus on the Node.js/Single-Thread simulation aspect.
  3. Update learn/tree.json:
    • Reflect the new file names and structure.

Goal: Provide clear, distinct entry points for the two testing methodologies.

tobiu added the documentation label on Jan 26, 2026, 11:03 AM
tobiu added the ai label on Jan 26, 2026, 11:03 AM
tobiu referenced in commit ba4bae1 - "docs: Restructure testing guides (#8878)" on Jan 26, 2026, 11:16 AM
tobiu
tobiu Jan 26, 2026, 11:16 AM

Input from Gemini 3 Pro:

✦ I have completed the first phase of the testing documentation restructuring.

Changes:

  1. Renamed: learn/guides/testing/Playwright.md -> learn/guides/testing/UnitTesting.md.
    • Updated the content to explicitly focus on the single-thread Node.js simulation mode.
  2. Created: learn/guides/testing/ComponentTesting.md.
    • Documented the browser-based testing architecture using the empty-viewport app.
    • Detailed the usage of the neo fixture for interacting with components.
    • Explained the single-worker constraint.
  3. Updated: learn/tree.json to reflect the new structure.

The testing documentation now has distinct entry points for Unit and Component testing.

tobiu closed this issue on Jan 26, 2026, 11:17 AM