frosh / shopware-classic-phpunit-bridge
PHPUnit Bridge for Shopware Classic
Installs: 1 576
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ^7.2
This package is auto-updated.
Last update: 2024-12-17 02:08:11 UTC
README
This repository contains bootstrap files for unit and functional which works in normal and composer installation of shopware.
Why?
- Independent of Core PHPUnit version
- Currently mostly plugin developers are using the same PhpUnit version as from core
- Works in the same way across all versions
- Simple setup
Installation
Require frosh/shopware-classic-phpunit-bridge
as dev requirement. And set following bootstrap files in your phpunit file
- Unit =>
../vendor/frosh/shopware-classic-phpunit-bridge/src/Bootstrap/Unit/bootstrap.php
- Functional =>
../vendor/frosh/shopware-classic-phpunit-bridge/src/Bootstrap/Functional/bootstrap.php
Example Plugin
Checkout FroshProfiler test suite