
from cowork-wordpress-expert23
Guides WordPress PHPUnit testing using WP_UnitTestCase, with test categories, coverage targets, test design principles, and CI integration recommendations.
This skill provides a comprehensive testing strategy for WordPress themes and plugins: unit and integration test organization, coverage targets, design patterns (Arrange-Act-Assert), mocking external dependencies, and CI recommendations. It helps teams build reliable, well-covered WordPress codebases and maintain test hygiene.
Use this skill when writing new tests for plugins/themes, setting coverage goals, designing integration tests with WP_UnitTestCase, or adding testing to CI pipelines. It's aimed at plugin authors, maintainers, and dev teams improving test quality.
Developer-focused agents capable of reading PHP/WordPress repositories and suggesting test code; suitable for Codex/Copilot-style assistants.
This skill has not been reviewed by our automated audit pipeline yet.