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.
Summary
Add comprehensive tests for custom post types and taxonomies - core WordPress functionality with minimal current coverage.
Current State
register_post_type()testsregister_taxonomy()testsProposed Tests
Knowledge Tests
register_post_type()arguments and defaultsExecution Tests
register_post_type()with REST support, hierarchical settingsregister_taxonomy()with proper configurationWP_Querywith multiplemeta_queryrelations (AND/OR)Why This Matters
Custom post types are used in almost every WordPress project. This is fundamental knowledge for WordPress developers.