Skip to content

New Test Suite: Custom Post Types & Taxonomies #9

@jnealey88

Description

@jnealey88

Summary

Add comprehensive tests for custom post types and taxonomies - core WordPress functionality with minimal current coverage.

Current State

  • Only 1 basic query test exists
  • No register_post_type() tests
  • No register_taxonomy() tests
  • No complex query tests

Proposed Tests

Knowledge Tests

  • register_post_type() arguments and defaults
  • Post type REST support configuration
  • Taxonomy relationship types
  • Capability mapping for custom post types

Execution Tests

  • register_post_type() with REST support, hierarchical settings
  • register_taxonomy() with proper configuration
  • Complex WP_Query with multiple meta_query relations (AND/OR)
  • Term metadata operations
  • Post type capabilities and permissions
  • Custom columns for post type admin lists

Why This Matters

Custom post types are used in almost every WordPress project. This is fundamental knowledge for WordPress developers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions