liip/functional-test-bundle
Symfony bundle providing base classes and helpers for functional tests, plus a DI-aware mock builder for unit tests. Includes tools for command testing, logged clients, query counting, examples, and parallel test runs.
Removed features deprecated in 4.6
Deprecations from 4.6 will now trigger an E_USER_DEPRECATED deprecation
Deprecated the following methods, use loginUser() from Symfony 5.1+ instead of:
makeClientmakeAuthenticatedClientmakeClientWithCredentialsloginAsloginClientcreateClientWithParamsAdded support for PHPUnit 13
Drop support for PHP 7.4 (it does not support Attributes, which are obligatory for compatibility with PHPUnit 12)
Drop support for php 7.2, 7.3
run:paratest, if you still need it, define the paratest:run command in your projectenvironment property. Use the static::$env property instead.This new major version introduces a number of breaking changes; see the upgrade guide for more details.
makeAuthenticatedClient() and makeClientWithCredentials() methodsmakeClient() doesn't accept a boolean or array as the first argument, use
makeAuthenticatedClient() or
makeClientWithCredentials($username, $password) insteadThis new major version introduces a number of breaking changes; see the upgrade guide for more details.
.gitattributes to make package slimmerdeclare(strict_types=1) everywhereLoadFixtues[@DisableDatabaseCache](https://github.com/DisableDatabaseCache) to disable database cache for a testsrc and tests subfoldersnelmio/alice to theofidry/alice-data-fixtures (which uses nelmio/alice 3)doctrine.fixture.orm. It's done automatically if you use autoconfigurerunCommand method now returns a Symfony CommandTester instance instead of the command output.WebTestCase::getKernelClass() function is dropped, since we migrated from KERNEL_DIR to KERNEL_CLASS constant to support Symfony 4How can I help you explore Laravel packages today?