Download the PHP package php-solution/sf-functional-test without Composer
On this page you can find all versions of the php package php-solution/sf-functional-test. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-solution/sf-functional-test
More information about php-solution/sf-functional-test
Files in php-solution/sf-functional-test
Download php-solution/sf-functional-test
More information about php-solution/sf-functional-test
Files in php-solution/sf-functional-test
Vendor php-solution
Package sf-functional-test
Short Description Extra functionality for work with Symfony functional tests
License MIT
Package sf-functional-test
Short Description Extra functionality for work with Symfony functional tests
License MIT
Please rate this library. Is it a good library?
Informations about the package sf-functional-test
Symfony Functional Test
Install
`
Load environment variables from files
Add to your phpunit.xml extension and configure paths (comma separated relative file paths from your phpunit.xml configuration file): `
Load Doctrine fixtures before test cases
Add to your phpunit.xml extension: `
Run Doctrine migrations before test cases
Add to your phpunit.xml extension:
Or simply:
Run sf command with parameters
Add to your phpunit.xml extension: `
Run native command with parameters
Add to your phpunit.xml extension: `
Using Test case additional functionallity PhpSolution\FunctionalTest\TestCase\AppTestCase
Using Authorization:
1) Add to your config_test.yml:
2) Use on TestCase
Work with Doctrine (ORM, ODM)
- Add EntityTrait or DocumentTrait to your TestCase
`
-
Find Entity helper method: `
- Refresh Entity: `
Test emails
-
Add config
- Add SpoolTrait and find methods `
Example of correct project structure:
See correct project structure and configs for functional tests on link
All versions of sf-functional-test with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-json Version *
doctrine/data-fixtures Version >=1.2
justinrainbow/json-schema Version >=5.2
nelmio/alice Version >=3.0
phpspec/prophecy-phpunit Version >=2.0
phpunit/phpunit Version >=10.0
symfony/console Version >=5.0
symfony/framework-bundle Version >=5.0
symfony/property-access Version >=5.0
symfony/browser-kit Version >=5.0
theofidry/alice-data-fixtures Version >=1.0
ext-json Version *
doctrine/data-fixtures Version >=1.2
justinrainbow/json-schema Version >=5.2
nelmio/alice Version >=3.0
phpspec/prophecy-phpunit Version >=2.0
phpunit/phpunit Version >=10.0
symfony/console Version >=5.0
symfony/framework-bundle Version >=5.0
symfony/property-access Version >=5.0
symfony/browser-kit Version >=5.0
theofidry/alice-data-fixtures Version >=1.0
The package php-solution/sf-functional-test contains the following files
Loading the files please wait ....