test-packages

Run PHPUnit tests across Bespoke packages with optional filters.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bespoke-uk/bespoke-mono --skill test-packages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-packages
Source: https://github.com/bespoke-uk/bespoke-mono/tree/main/.claude/skills/test-packages
Command: npx skills add https://github.com/bespoke-uk/bespoke-mono --skill test-packages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running tests across multiple Bespoke packages is time-consuming and error-prone when done manually. This skill automates invoking test suites for one or many packages, ensuring consistent feedback across the repository.

Core Features & Use Cases

  • Single-package testing: Validate a specific package with its dependencies.
  • Category-wide testing: Run tests for all packages within a category.
  • All-packages testing: Execute the entire test suite across the repository and collect results for review.

Quick Start

Run tests for a single package by passing its path to the command.

Frequently Asked Questions about test-packages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run PHPUnit tests across multiple packages at once?

Running PHPUnit tests across multiple packages is automated by targeting a category or the entire repository, invoking composer test for each package and consolidating the results for review.

Can I run integration tests for a single PHP package with its dependencies?

Yes, you can test a single PHP package by passing its path to the command, which validates that specific package along with its dependencies using your configured PHPUnit setup.

Do I need Composer configured to automate PHP package testing?

Yes, you need a PHP and Composer-based setup with PHPUnit configured and the ability to run composer test across packages to automate your package testing workflows.

What is the best way to filter PHPUnit test execution for specific package categories?

Filtering PHPUnit test execution by category lets you run tests for all packages within that category, providing consistent feedback without manually invoking test suites for individual packages.