buddylindsey/li3_phinger
Composer 安装命令:
composer require --dev buddylindsey/li3_phinger
包简介
This plugin adds ability to use phing to your lithium project
README 文档
README
A Phing task for running lithium tests.
Usage
An example phing build file that runs just the lithium tests is below.
<?xml version="1.0"?>
<project name="lithium-app" default="main">
<target name="main">
<taskdef classname="TestTask" classpath="li3_phinger/core" name="li3test" />
<li3test li3Base="." tests="app\tests" />
</target>
</project>
Params
li3Base : is the base location for lithium, it'll have the app, libraries directories in it. tests : this is what tests you wish to run, it uses the web interfaces agruments. So "all" will run all the tests, "app\tests" will run all the ones in that namespace, etc.
Known Issues
Since the way lithium defines it's base for for url handling you will need to mock the Request class and redefine Request::_base() to set $this->base as '/'.
统计信息
- 总下载量: 15.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-11