Registry / testing / drupal-core-dev

drupal-core-dev

JSON →
library11.3.11phppackagistunverified

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

composer require drupal/core-dev
INSTALL
IMPORT
SIG · DRUPAL-CORE-DEV
D
drupal-core-dev
testingphpv11.3.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DrupalTest
✓ use Drupal\Tests\Core\DrupalTest;

Write unit tests for Drupal core using the provided testing framework.

use Drupal\Tests\Core\DrupalTest; class ExampleTest extends DrupalTest { public function testExample() { $this->assertTrue(true); } }
Debug
Known issues
gotchaThis package is a metapackage that only declares dependencies; it does not contain any code itself.
fix
Install drupal/core-recommended alongside this package for actual Drupal core code.
affects: >=11.0.0
Upgrade
Version history
11.3.11latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
drupal-core-dev — pip install drupal-core-dev · libregistry