Releases: kununu/testing-bundle
Releases · kununu/testing-bundle
Support only PHP 8.3
BREAKING CHANGES
- Only support PHP 8.3 - Make classes read-only when possible
- Add types to constants
- Upgrade PHPUnit to v11.3
- Use static versions of asserts and expectations of invocations
- Change CI pipeline to use PHP 8.3
- Bump to use
kununu/data-fixtures
12.0
- Changes on
AbstractTestCase
and children (FixturesAwareTestCase
andWebTestCase
):getFixturesContainer
now has the SymfonyContainerInterface
and not PSR interface as its return type- Add
getServiceFromContainer
- Add
getParameterFromContainer
- Add
FixturesContainerGetterTrait
to help getting common services from the test container:getConnection
to get a Doctrine DBAL connectiongetCachePool
to get a CacheItemPoolInterfacegetElasticsearchClient
to get an Elasticsearch clientgetHttpClient
to get a Symfony Http client
- Update documentation
Drop support for PHP 8.0 and support Symfony 6.4
BREAKING CHANGES
- Remove support for PHP 8.0
- Drop support for Symfony 4.4
- Upgrade to only support Symfony 5.4 or 6.4
- Upgrade kununu/data-fixtures to v11.0 (imply same breaking changes as of that version)
- Use Symfony 6.4 components for development
- Rename classes that had "ElasticSearch" to "Elasticsearch"
- Upgrade to PHPUnit 10.5
- Fix tests
- Split test directories for unit and integration tests
- Update documentation
- Upgrade CI workflow to use PHP 8.1
Update continuous integration components
What's Changed
No code changes
Upgrade requirement of kununu/data-fixtures to v10.2.0
What's Changed
- Upgrade requirement of kununu/data-fixtures to v10.2.0 by @hugo-goncalves-kununu in #50
Full Changelog: v17.3.0...v17.4.0
Do not reload HTTP client fixtures on WebTestCase if no HTTP client fixtures are available
- Make sure that
WebTestCase
doesn't throw aServiceNotFoundException
ifsymfony/http-client
is not installed
Fixes lost HTTP Client fixtures after Kernel reboot
What's Changed
- Fix kernel reboot losing http fixtures
- Fix problem in Symfony 5.x where calling WebTestCase::doRequest would lose the loaded http fixtures
Fix kernel already booted in WebTestCase::doRequest
What's Changed
- Fix kernel already booted in WebTestCase::doRequest
- Fix problem in Symfony 5.x where calling WebTestCase::doRequest would fail stating that kernel was already booted
Drop support for PHP 7.x
- Drop support for PHP 7.x
- Small refactors to use PHP 8.0 features and optimize some code
Prevent errors on Symfony 5 when using WebTestCase
- Ensure Kernel is shutdown - prevent error for Symfony 5
Extend RequestBuilder with support for HTTP PATCH requests
- Add factory method to create RequestBuilder objects for HTTP PATCH requests