Registry / testing / symfony-cmf-testing

symfony-cmf-testing

JSON →
library5.0.4phppackagistunverified

Component providing tools for writing tests with Symfony.

composer require symfony-cmf/testing
INSTALL
IMPORT
SIG · SYMFONY-CMF-TESTIN
S
symfony-cmf-testing
testingphpv5.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.

WebTestCase
use Symfony\Cmf\Component\Testing\Functional\WebTestCase;

Extend WebTestCase to write functional tests for Symfony CMF applications.

use Symfony\Cmf\Component\Testing\Functional\WebTestCase; class MyTest extends WebTestCase { public function testSomething() { $client = static::createClient(); $crawler = $client->request('GET', '/'); $this->assertCount(1, $crawler->filter('h1')); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
symfony-cmf-testing — pip install symfony-cmf-testing · libregistry