Skill / SKILL.md

Drupal Testing

grasmash/drupal-claude-skills

Test-driven development for Drupal with PHPUnit and Drupal Test Traits (DTT). Use when writing or fixing tests, deciding what is worth a test, reproducing a bug before fixing it, choosing a bootstrap level (Unit vs Kernel vs ExistingSite/functional), testing permission gates, adding Playwright visual verification, or debugging tests that silently run zero assertions. Covers the bug-fix RED-first discipline, the worth-a-test rubric, bootstrap cost tradeoffs, negative tests, the anonymous-403 permission trap, DTT gotchas, and the PHPUnit-version pin that makes Drupal tests pass vacuously.
2 views 85 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Test-driven development for Drupal with PHPUnit and Drupal Test Traits (DTT). Use when writing or fixing tests, deciding what is worth a test, reproducing a bug before fixing it, choosing a bootstrap level (Unit vs Kernel vs ExistingSite/functional), testing permission gates, adding Playwright visual verification, or debugging tests that silently run zero assertions. Covers the bug-fix RED-first discipline, the worth-a-test rubric, bootstrap cost tradeoffs, negative tests, the anonymous-403 permission trap, DTT gotchas, and the PHPUnit-version pin that makes Drupal tests pass vacuously.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/grasmash/drupal-claude-skills' skill-source

Use the complete skill-source/skills/drupal-testing directory with your client’s skill installer.

  • skills/drupal-testing

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/drupal-testing

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
6a571c1815e501ecdd490cee5a155cf32db5a0ca56d660abc63e96c427c9ba00
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills