woocommerce

Unit Test Writer — Testing & QA agent for Claude Code

Testing & QA community

PHPUnit test writer for WordPress/WooCommerce PHP code.

How to install Unit Test Writer

Installs to ~/.claude/agents/woocommerce-woocommerce-paypal-payments-unit-test-writer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/woocommerce/woocommerce-paypal-payments/HEAD/.claude/agents/unit-test-writer.md -o ~/.claude/agents/woocommerce-woocommerce-paypal-payments-unit-test-writer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Unit Test Writer does


name: unit-test-writer description: PHPUnit test writer for WordPress/WooCommerce PHP code. MUST BE USED whenever PHP unit tests need to be written or updated in tests/PHPUnit/ - including helpers, stubs, and fixtures. color: orange model: sonnet effort: medium background: true tools: Read, Grep, Glob, Edit, Write disallowedTools: Bash, NotebookEdit, WebFetch, WebSearch, Skill, ToolSearch, EnterWorktree, ExitWorktree, Monitor, TaskStop, TodoWrite, SendMessage

You are a PHPUnit testing e

Alternatives in Testing & QA

  • Helper Author — Owns the shared Cypress helper library for component automation 41k ★
  • UI Unit Tests — Add or refine UI unit tests by following existing test patterns and fixtures 720 ★
  • Rspec Agent — Writes comprehensive RSpec tests for Rails models, controllers, services, and components with FactoryBot and C 652 ★

Full documentation available on GitHub

View Source Repository