svycka / codeception-zend-expressive-module
Zend Expressive 3 框架的 Codeception 模块
1.0.2
2018-03-20 08:43 UTC
Requires
- php: ^7.1
- codeception/codeception: ^2.4
- zendframework/zend-expressive: ^3.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-08-27 16:06:20 UTC
README
此模块允许您在 Zend Expressive 3 框架内运行测试。
安装
通过 Composer
$ composer require svycka/codeception-zend-expressive-module
用法
将以下内容放入您的 codeception.yml
modules: config: \Svycka\Codeception\Module\ZendExpressive: container: path/to/container.php REST: depends: \Svycka\Codeception\Module\ZendExpressive
可用选项
container
- 返回容器的文件的相对路径(默认:config/container.php
)pipeline
- 返回管道配置的文件的相对路径(默认:config/pipeline.php
)routes
- 返回路由配置的文件的相对路径(默认:config/routes.php
)orm_service
- 容器中Doctrine\ORM\EntityManager
的服务名称(默认:doctrine.entity_manager.orm_default
)
变更日志
请参阅 CHANGELOG 了解最近更改的详细信息。
测试
$ composer test
贡献
请参阅 CONTRIBUTING 和 CODE_OF_CONDUCT 了解详细信息。
安全性
如果您发现任何安全问题,请通过电子邮件 svycka@gmail.com 而不是使用问题跟踪器。
鸣谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。