ActivityPub Testing

0•

Streamlines testing for WordPress ActivityPub features using standardized PHPUnit and Playwright E2E patterns.

This skill provides specialized guidance for developers working on the WordPress ActivityPub plugin, offering standardized patterns for both PHPUnit backend tests and Playwright end-to-end browser tests. It simplifies the creation of robust test suites for complex federation features like WebFinger discovery, activity transformers, and server-to-server interactions, ensuring high code quality and reliable cross-instance compatibility within the Fediverse.

Características Principales

01Standardized PHPUnit test structures for WordPress environments
02Mocking utilities for HTTP requests and activity handlers
03Integration patterns for test data factories (users, posts, comments)
040 GitHub stars
05Playwright E2E testing patterns for Federation and WebFinger discovery
06Optimized test grouping and isolation commands for faster debugging

Casos de Uso

01Implementing unit tests for new ActivityPub activity transformers
02Setting up automated test coverage for WordPress plugin development
03Debugging federation failures between WordPress and other Fediverse instances