drupal-kernel
CommunityDrupal kernel tests with minimal bootstrap.
Authoredutrul
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Kernel-based testing for Drupal modules using KernelTestBase to validate services, DB operations, and hooks with minimal bootstrap.
Core Features & Use Cases
- Provides isolated kernel tests for Drupal modules (service containers, DB schemas, and entity operations) without a full browser.
- Demonstrates setup patterns: installEntitySchema, installSchema, installConfig, and entity type creation in tests.
- Helps you verify module behavior through assertions on entities, config, and hooks.
Quick Start
Run kernel tests for your module by placing tests under docroot/modules/custom/your_module/tests/src/Kernel and running the PHPUnit command that targets those tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: drupal-kernel Download link: https://github.com/edutrul/drupal-ai/archive/main.zip#drupal-kernel Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.