PHPackages                             dachcom-digital/pimcore-codeception-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. dachcom-digital/pimcore-codeception-framework

ActiveLibrary[Framework](/categories/framework)

dachcom-digital/pimcore-codeception-framework
=============================================

Pimcore Codeception Framework

3.0.x-dev(2mo ago)410.6k↓23.1%GPL-3.0-or-laterPHPCI passing

Since May 25Pushed 2mo ago9 watchersCompare

[ Source](https://github.com/dachcom-digital/pimcore-codeception-framework)[ Packagist](https://packagist.org/packages/dachcom-digital/pimcore-codeception-framework)[ Docs](https://github.com/dachcom-digital/pimcore-codeception-framework)[ RSS](/packages/dachcom-digital-pimcore-codeception-framework/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Pimcore Codeception Framework
=============================

[](#pimcore-codeception-framework)

---

Important

This bundle will **not** be compatible with Pimcore 12 or any future Pimcore versions.

For all future development, updates, and documentation, please refer to [opendxp.io](https://www.opendxp.io):

- Access the latest info here:
- Migration of Dachcom Digital Bundles:

**Note:** We are open to partnerships for those interested in porting this bundle to future versions.

For inquiries, please contact:

---

[![Software License](https://camo.githubusercontent.com/cad8c16a3d580a69d8923c98d8de25d21cb00fa54fa60a856a8e1ca657f79db4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c76332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Software License](https://camo.githubusercontent.com/e97037437574223b9032209d2ded216fae3bacdc9e5eeed04eb89f2b83a97ba7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d44434c2d77686974652e7376673f7374796c653d666c61742d73717561726526636f6c6f723d253233666635633563)](LICENSE.md)

This Package allows you to create fast and simple testing environments. It's also used by all pimcore Bundles created by [DACHCOM.DIGITAL](https://github.com/dachcom-digital?q=pimcore-).

### Support Table

[](#support-table)

BranchSupported Pimcore VersionsSupported Symfony Versions**3.0**`11.0``^6.2`**2.0**`10.1`- `10.6``^5.4`**1.0**`6.6` - `6.9``^4.4`, `^3.4`### Upgrade Notes

[](#upgrade-notes)

#### 3.0.0

[](#300)

- Yaml extension changed from `yml` to `yaml`
- `_support` path has changed to `Support`. All `Dachcom\Codeception\*` namespaces have changed to `Dachcom\Codeception\Support\*`
- Using rsync for `setup_files` so you need to adjust your `setup_files` stack accordingly (see example below)
- You need to define PIMCORE `config_location` in your ci configuration (See section "Configuration Location" below)
- You have to add additional PIMCORE Bundles to the `bundles` config section (see example below)
- \[SECURITY\] `\Pimcore\Bundle\AdminBundle\EventListener\CsrfProtectionListener` is disabled while executing tests
- `Pimcore\Model\DataObject` namespace changed from `_output/var/classes/DataObject/DataObject` to `_output/var/classes/DataObject`
- TestKernel Class can be defined via `TEST_KERNEL_CLASS` env var

---

Configuration
-------------

[](#configuration)

All test files need to be stored in `/tests`.

### Environment Variables

[](#environment-variables)

NameExampleRequiredDescription`TEST_BUNDLE_NAME``ToolboxBundle`yes--`TEST_BUNDLE_INSTALLER_CLASS``ToolboxBundle\\Tool\\Install`yesSet to `false` if you don't have any installer class`TEST_BUNDLE_TEST_DIR``${{ github.workspace }}/tests`yes--`TEST_PROJECT_ROOT_DIR``${{ github.workspace }}`yesThis variable is required to setup test structure before any system is running`PIMCORE_CODECEPTION_FRAMEWORK``${{ github.workspace }}/pimcore-codeception-framework`yes--`PIMCORE_CODECEPTION_VERSION``2.0`, `1.0`yes--Bootstrap
---------

[](#bootstrap)

Create a file called `_bootstrap.php` in `tests/_bootstrap.php`

```
