The ActivityPub Testing skill provides a comprehensive set of patterns and guidance for developers working on the WordPress ActivityPub plugin or similar decentralized social networking projects. It offers standardized templates for PHPUnit testing, including unit and integration patterns for transformers and handlers, alongside robust Playwright E2E scenarios for frontend and federation verification. By providing ready-to-use commands for environment setup, test isolation, and debugging, this skill helps developers ensure their ActivityPub implementation remains reliable, compliant with federation protocols like WebFinger, and bug-free across updates.
主要功能
01Mocking patterns for HTTP requests and federation data factories
0281 GitHub stars
03Playwright E2E testing patterns for ActivityPub settings and federation
04Specialized test cases for WebFinger discovery and actor object validation
05Standardized PHPUnit test structures for WordPress integration
06Advanced debugging workflows for isolating and analyzing test failures
使用场景
01Debugging CI/CD pipeline failures by isolating specific test methods and checking verbose logs
02Implementing unit tests for new ActivityPub federation handlers in PHP
03Creating end-to-end tests to verify that WordPress posts federate correctly to the Fediverse