Registry / testing / laminas-laminas-test

laminas-laminas-test

JSON →
library4.12.0phppackagistunverified

Tools to facilitate integration testing of laminas-mvc applications.

composer require laminas/laminas-test
INSTALL
IMPORT
SIG · LAMINAS-LAMINAS-TE
L
laminas-laminas-test
testingphpv4.12.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 Laminas\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;

Write integration tests for Laminas MVC controllers.

use Laminas\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; class IndexControllerTest extends AbstractHttpControllerTestCase { public function testIndexActionCanBeAccessed() { $this->dispatch('/'); $this->assertResponseStatusCode(200); } }
Debug
Known issues
gotchaRequires laminas-mvc and PHPUnit; not a standalone testing framework.
fix
Ensure laminas/laminas-mvc and phpunit/phpunit are installed.
affects: >=4.0.0
Upgrade
Version history
4.12.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
laminas-laminas-test — pip install laminas-laminas-test · libregistry