- Pimcore Asset/Document/DataObject versioning is now disabled by default in
Neusta\Pimcore\TestingFramework\BootstrapPimcore::bootstrap()
- Provide a
WebTestCase
with configurable kernel
- Deprecated
Neusta\Pimcore\TestingFramework\Kernel\TestKernel
in favor ofNeusta\Pimcore\TestingFramework\TestKernel
- Deprecated
Neusta\Pimcore\TestingFramework\Pimcore\BootstrapPimcore
in favor ofNeusta\Pimcore\TestingFramework\BootstrapPimcore
- Deprecated
Neusta\Pimcore\TestingFramework\Test\ConfigurableKernelTestCase
in favor ofNeusta\Pimcore\TestingFramework\KernelTestCase
- Deprecated
Neusta\Pimcore\TestingFramework\Test\Attribute\KernelConfiguration
in favor of\Neusta\Pimcore\TestingFramework\Attribute\ConfigureKernel
- Deprecated
Neusta\Pimcore\TestingFramework\Test\Attribute\{ConfigureContainer,ConfigureExtension,RegisterBundle,RegisterCompilerPass}
in favor of\Neusta\Pimcore\TestingFramework\Attribute\Kernel\{ConfigureContainer,ConfigureExtension,RegisterBundle,RegisterCompilerPass}
- Fix importing database dumps on Alpine Linux
- Remove unnecessary
doctrine/annotations
from test suite
- Fix type definition for
ConfgureExtension
- Add support for Pimcore 11.2
- Allow kernel configuration via data provider
- Allow kernel configuration via attributes
- Dynamically configurable test kernel with which you can register bundles, load configurations, configure extensions, and register compiler passes for each test.
- Mark Pimcore 11.2 as incompatible.
- Support for Pimcore 11.
Neusta\Pimcore\TestingFramework\Pimcore\BootstrapPimcore::bootstrap()
now expects named arguments.
If you pass the application environment as a parameter, you now have to prefix it with:APP_ENV:
:-BootstrapPimcore::bootstrap('something') +BootstrapPimcore::bootstrap(APP_ENV: 'something')
- The second parameter (
$value
) ofNeusta\Pimcore\TestingFramework\Pimcore\BootstrapPimcore::setEnv()
is now of typestring
. - Admin mode will be disabled by default when bootstrapping pimcore.
- The
WithoutAdminMode
trait was removed.
- Reset admin mode to previous state after each test class when using
WithAdminMode
trait.
- Drop support for Pimcore
<10.5
and PHP<8.1
.