Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FriendsOfShopware/classic-phpunit-bridge
PHPUnit Bridge for Shopware Classic (5)
https://github.com/FriendsOfShopware/classic-phpunit-bridge
shopware
Last synced: 3 months ago
JSON representation
PHPUnit Bridge for Shopware Classic (5)
- Host: GitHub
- URL: https://github.com/FriendsOfShopware/classic-phpunit-bridge
- Owner: FriendsOfShopware
- Created: 2019-09-09T22:48:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T13:52:00.000Z (about 5 years ago)
- Last Synced: 2024-07-19T02:16:31.525Z (4 months ago)
- Topics: shopware
- Language: PHP
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Classic PhpUnit Bridge
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