application-testing

Category: Business & Operations | Uploader: JUVOJustinJUVOJustin | Downloads: 0 | Version: v1.0(Latest)

Write, extend, or debug PHPUnit application tests for this WordPress plugin. Use this skill whenever tests are involved — adding a test for a new feature, testing hook or filter behavior, testing WordPress data operations with factories, or when asked to "add a test", "write tests", "test this function", or "verify this behavior with a test". This skill is opinionated about the project's wp-env-based setup and supersedes any generic PHPUnit guidance. --- # Application Testing Tests run exclusively inside the `wp-env` test container. The bootstrap and PHPUnit config are pre-wired. Do not modify `tests/bootstrap.php` or `phpunit.xml.dist`. The plugin is already loaded when tests run — no manual require needed. For full reference including common patterns, plugin dependencies, and CI details, read `references/testing.mdx`. ## Running the test suite

Changelog: Source: GitHub https://github.com/JUVOJustin/wordpress-plugin-boilerplate

Directory Structure

Current level: tree/main/.agents/skills/application-testing/

SKILL.md

Login to download/like/favorite ❤ 8 | ★ 0
Comments 0

Please login before commenting.

No comments yet. Be the first one!