Registry / testing / wp-media-phpunit

wp-media-phpunit

JSON →
library3.0.4phppackagistunverified

PHPUnit extender for bootstrapping unit and WordPress integration test suites.

composer require wp-media/phpunit
INSTALL
IMPORT
SIG · WP-MEDIA-PHPUNIT
W
wp-media-phpunit
testingphpv3.0.4
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.

TestCase
use WPMedia\PHPUnit\TestCase;

Extend the WP Media TestCase to write WordPress integration tests.

use WPMedia\PHPUnit\TestCase; class MyTest extends TestCase { public function testExample() { $this->assertTrue(true); } }
Debug
Known issues
breakingRequires PHPUnit 8+ and WordPress test suite.
fix
Install PHPUnit 8+ and configure WordPress test environment.
affects: <3.0.0
Upgrade
Version history
3.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
wp-media-phpunit — pip install wp-media-phpunit · libregistry