nagno/phpspec-bootstrap-magento2
最新稳定版本:3.1.0
Composer 安装命令:
composer require nagno/phpspec-bootstrap-magento2
包简介
Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work
README 文档
README
You need at least Magento 2.3 to use this version of the tool.
Purpose of the tools
This tool bootstraps Magento2 with it's object manager factory, so every new dynamic class request will go through it and it will be created by Magento before phpspec tries to use it
Installation instructions
Add the repository into your composer.json file using the following command:
composer config repositories.nagno git https://github.com/nagno/phpspec-bootstrap-magento2.git
Install the package:
composer require nagno/phpspec-bootstrap-magento2 --dev
Add these lines to phpspec.yml:
extensions: Nagno\Phpspec\BootstrapMagento2\Bootstrap: ~
Compatibilty with PhpSpec
This tool is compatible with PhpSpec 2, 4, 5 and 6.
| PhpSpec Version | Bootstrap Magento2 Version |
|---|---|
| 2.x | 1.x |
| 4.x | 2.x |
| 5.x | 3.x |
| 6.x | 3.x |
统计信息
- 总下载量: 70.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-25