Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness.
Una skill en «Datos, analítica e investigación». Comandos listos para Claude Code, Codex, OpenCode y 32 agentes más.
Descripción completa
Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness. ALWAYS load when writing, running, fixing, or reviewing tests for a Craft plugin or module, and whenever a suite touches a real Craft install. Covers why rollback is opt-in, tests/Pest.php + tests/bootstrap.php wiring, phpunit.xml.dist <env> pins (force DB name + table prefix, default connection coordinates for CI), why --configuration= defeats DB isolation, installing the plugin under test, process-timezone pinning, per-test site fixtures, idempotent Install migrations, stale service caches when components get swapped, muting audit sinks, queue stubs, factories, HTTP/DB assertions, CI test jobs. Triggers on: Pest, pestphp, craft-pest-core, markhuot, RefreshesDatabase, InstallsCraft, tests/Pest.php, phpunit.xml.dist, vendor/bin/pest, composer test, ddev craft pest, db_test, CRAFT_DB_DATABASE, CRAFT_DB_TABLE_PREFIX, Entry::factory(), assertDatabaseHas, afterEach, transaction rollback, test site fixture, fixture cleanup sweep, createIndexIfMissing, Db::findForeignKey, UserPermissions::reset(), TestCaseAlreadyInUse, cookieValidationKey with --filter, 'too many keys', 'tests pollute the database', 'tests created thousands of entries', 'passes on dev but fails in isolation', 'passes alone but fails in the suite', 'datetimes off by hours in tests', 'connects locally but not on CI', flaky order-dependent test, no Pest job in CI. Do NOT trigger for front-end/JS testing or PHP style analysis.
Skill
Datos, analítica e investigación
35 agentes
93 estrellas
Apache-2.0
Esta entrada viene del ClaudSkills conjunto de datos abierto. ANG no ejecutó ni auditó esta skill; revisa la fuente antes de instalar.
AiderNo hay compatibilidad documentada con SKILL.md para Aider.Fuente
PlandexNo hay compatibilidad documentada con SKILL.md para Plandex.Fuente
CodeGPTNo hay compatibilidad documentada con SKILL.md para CodeGPT.Fuente
SWE-agentNo hay compatibilidad documentada con SKILL.md para SWE-agent.Fuente
mini-SWE-agentNo hay compatibilidad documentada con SKILL.md para mini-SWE-agent.Fuente
JulesNo hay compatibilidad documentada con SKILL.md para Jules.Fuente
Open SWENo hay compatibilidad documentada con SKILL.md para Open SWE.Fuente
GitLab DuoNo hay compatibilidad documentada con SKILL.md para GitLab Duo.Fuente
La compatibilidad viene de la documentación oficial de cada agente sobre SKILL.md y MCP; ANG no ha ejecutado esta entrada en todos los agentes.
En pocas palabras
No hace falta saber de tecnología.
¿Qué es?
Un skill es un paquete de instrucciones que cargas en tu agente (como Claude Code o Codex). Es como instalar una app en el móvil: lo instalas una vez y el agente sabe hacer ese trabajo.
¿Para qué sirve?
Se usa para trabajos de “Datos, analítica e investigación”. En palabras del publicador: Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness.
Ejemplo de petición
“Investiga este tema y haz un resumen.”
Agentes
Comandos listos para Claude Code, Codex, OpenCode y 32 agentes más.
¿Puedo confiar en ella?
93 estrellas en GitHub · Apache-2.0. Revisa la fuente antes de instalar.
Uso
Últimos 30 días, en el sitio y en los agentes.
0en estantes
0visitas
0comandos copiados
0descargas desde el sitio
0instalaciones desde la app
0instalaciones hechas por el agente
0usuarios activos
Una puntuación de uso real necesita al menos 20 usuarios y 50 tareas desde la app de ANG; ahora hay 0 usuarios y 0 tareas. Hasta entonces, la potencia se estima con los datos de la ficha.