Registry / testing / zendframework-zend-test

zendframework-zend-test

JSON →
library3.3.0phppackagistunverified

Tools to facilitate unit testing of zend-mvc applications

composer require zendframework/zend-test
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-test
testingphpv3.3.0
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.

AbstractHttpControllerTestCase
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;

Test Zend MVC controllers with PHPUnit

use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; class IndexControllerTest extends AbstractHttpControllerTestCase { public function setUp(): void { $this->setApplicationConfig(include 'config/application.config.php'); } public function testIndexAction() { $this->dispatch('/'); $this->assertResponseStatusCode(200); } }
Debug
Known issues
breakingPackage is abandoned; use laminas/laminas-test instead
fix
Replace zendframework/zend-test with laminas/laminas-test
affects: >=3.0.0
Upgrade
Version history
3.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
zendframework-zend-test — pip install zendframework-zend-test · libregistry