Skip to content

Proposal: Restructure Test Handbook to Support Multiple Testing Domains #111

@huzaifaalmesbah

Description

@huzaifaalmesbah

Objective

Restructure the Test Handbook to consolidate testing documentation, improve onboarding, and accommodate the expanding scope of the Test Team (Core, Gutenberg, Performance, AI).

The Problem

Currently, the testing documentation is fragmented and Core-centric:

  • Split Documentation: The Test Handbook only covers Playground testing. Critical guides like "Set up a local environment" and "Grunt testing" still appear to live in the Core Handbook, creating a disjointed experience.
  • Outdated Content: Existing Core testing docs are often outdated or not optimized for testers.
  • Confusion: New contributors struggle to navigate between handbooks, leading to a poor onboarding experience.
  • Scalability: A flat structure cannot support new domains like AI or Performance without clutter.

Proposed Solution

We propose an Incremental & Project-Based Approach to migration.

  1. Consolidate Core Docs: Immediately move/create "Set up a Local Environment" and "Test with Grunt" guides into the Test Handbook to reduce reliance on the Core Handbook.
  2. Adopt a Project-Based Hierarchy: Group documentation by domain to keep things organized.

New Directory Structure

We will restructure get-setup-for-testing/ into dedicated project folders:

test-handbook/
├── get-setup-for-testing/
│   │
│   ├── index.md                  # Main Landing Page
│   │
│   ├── core/                  # WordPress Core Testing
│   │   ├── index.md
│   │   ├── set-up-a-testing-environment.md   # [NEW] Local env options (Docker, Lamp, Valet, Herd, Laragon etc)
│   │   ├── test-core-tickets-with-grunt.md   # [NEW] Grunt workflows
│   │   ├── test-core-tickets-with-playground.md
│   │   └── run-automated-tests.md
│   │
│   ├── gutenberg/             # Gutenberg / Block Editor
│   │   └── index.md
│   │
│   ├── performance/           # Performance Team
│   │   └── index.md
│   │
│   └── ai/                    # AI
│       └── index.md

New Handbook Menu (Manifest)

The sidebar navigation will reflect this logical grouping:

  • Get Setup for Testing
    • WordPress Core
      • Set Up a Local Environment
      • Test Core Tickets with Playground
      • Test Core Tickets with Grunt
      • Run Automated Tests
    • Gutenberg
    • Performance
    • AI

Benefits

  1. Unified Onboarding: One central place for all testing needs, eliminating the need to jump to the Core Handbook.
  2. Practical & Scoped: Focuses on immediate needs (Local Env, Grunt) while paving the way for future sections.
  3. Future-Proof: Ready for new testing initiatives without cluttering the main menu.
  4. Clear Ownership: Shifts documentation maintenance closer to the Test Team.

Metadata

Metadata

No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions