buddylindsey / li3_phinger
This plugin adds ability to use phing to your lithium project
Installs: 15 721
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:li3-libraries
pkg:composer/buddylindsey/li3_phinger
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2026-01-03 20:31:16 UTC
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 '/'.