【发布时间】:2015-09-11 09:09:11
【问题描述】:
我尝试将圆形 CI 与 magento 集成,并且我创建了 Phpunit 测试来运行此测试,在 magento 中,这些测试按预期工作,但在圆形 CI phpunit 中显示错误。
在我给出的 circle.yml 文件中
machine:
php:
version: 5.4.5
dependencies:
pre:
- cd tests/unit
- wget https://phar.phpunit.de/phpunit.phar
- chmod +x phpunit.phar
- sudo mv phpunit.phar /usr/local/bin/phpunit
post:
- cd tests/unit
- phpunit
Magento 单元测试遵循 URL http://www.atwix.com/magento/php-unit-testing/
【问题讨论】:
-
看起来下面的答案是正确的,提供测试文件的路径作为 phpunit 的参数
标签: magento integration-testing circleci