dohzoh/phpspec-fuel
最新稳定版本:0.2
Composer 安装命令:
composer require dohzoh/phpspec-fuel
包简介
fuelphp1.x extension for phpspec
README 文档
README
Extension for using PhpSpec with FuelPHP framework
Installation
Download fuelphp framework from http://fuelphp.com/downloads
wget -O fuelphp.zip http://fuelphp.com/files/download/28
unzip fuelphp.zip
cd fuelphp-1.7.2
And install to use composer
php composer.phar config bin-dir "bin/"
php composer.phar require dohzoh/phpspec-fuel dev-master --prefer-dist
Setting
cp fuel/vendor/dohzoh/phpspec-fuel/phpspec.yml.dist phpspec.yml
Usage
bin/phpspec describe Model_Blog
bin/phpspec run
Configuration
You specify the applicaiton root in phpspec.yml, for example:
src_path: fuel/app
spec_path: fuel/app/tests
phpunit.xml: fuel/core/phpunit.xml
This will usually match the path you set for your composer autoload to search for classes.
For documentation on how to use phpspec, see: http://www.phpspec.net/
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-21