What problem does it solve?
This Skill eliminates the frustration of navigating OrangeHRM's fragmented testing ecosystem, guessing which test base class to use, misconfiguring the test database, and debugging opaque CI test failures that don't reproduce locally.
Core Features & Use Cases
- PHPUnit Test Guidance: Covers per-plugin testsuites, test base classes (TestCase, KernelTestCase, EndpointTestCase), YAML fixture patterns, and DAO/service/endpoint test conventions for consistent, maintainable backend tests.
- Cross-Layer Testing Support: Includes setup and usage guidance for Jest frontend unit tests and Cypress end-to-end tests to validate full user journeys.
- Test Environment & Debugging Helpers: Provides step-by-step instructions for creating the test DB, running targeted test suites, and resolving common issues like version mismatches between local and CI environments, strict error mode failures, and fixture data conflicts.
- Use Case: If you are adding a new DAO method to the Admin plugin, this skill tells you exactly which base class to extend, how to structure your YAML fixture, and how to run the test locally and in CI without configuration guesswork.
Quick Start
Use the testing skill to write a compliant DAO test for a new OrangeHRM data access method, following the project's YAML fixture and base class conventions.