Registry / testing / liip-test-fixtures-bundle

liip-test-fixtures-bundle

JSON →
library3.9.0phppackagistunverified

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications.

composer require liip/test-fixtures-bundle
INSTALL
IMPORT
SIG · LIIP-TEST-FIXTURES
L
liip-test-fixtures-bundle
testingphpv3.9.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.

FixturesTrait
use Liip\TestFixturesBundle\Test\FixturesTrait;

Load Doctrine fixtures in functional tests.

use Liip\TestFixturesBundle\Test\FixturesTrait; class MyTest extends KernelTestCase { use FixturesTrait; public function testSomething() { $fixtures = $this->loadFixtures([MyFixture::class]); } }
Debug
Known issues
gotchaRequires Symfony framework and Doctrine ORM to be installed.
fix
Ensure symfony/framework-bundle and doctrine/orm are in your composer.json.
affects: >=3.0
Upgrade
Version history
3.9.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
liip-test-fixtures-bundle — pip install liip-test-fixtures-bundle · libregistry