li3-test Maven Mojo

A Maven testing mojo which runs tests for the lithium PHP framework and fails if they fail in specific ways by searching through the output.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.ning.maven.plugins
ArtifactId

ArtifactId

li3-test
Last Version

Last Version

0.0.13
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

li3-test Maven Mojo
A Maven testing mojo which runs tests for the lithium PHP framework and fails if they fail in specific ways by searching through the output.
Project URL

Project URL

https://github.com/ning/maven-duplicate-finder-plugin
Source Code Management

Source Code Management

https://github.com/ning/maven-li3-test

Download li3-test

How to add to project

<plugin>
    <groupId>com.ning.maven.plugins</groupId>
    <artifactId>li3-test</artifactId>
    <version>0.0.13</version>
</plugin>

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0

test (2)

Group / Artifact Type Version
org.testng : testng jar 6.5.2
org.easymock : easymock jar 3.0

Project Modules

There are no modules declared in this project.

Maven Li3 Test Plugin

This plugin allows you to run li3 php tests from maven and fails under conditions that it should fail (exceptions and test failures and the like).

Usage

Insert the following into your pom.xml:

      <plugin>
	<groupId>com.ning.maven.plugins</groupId>
	<artifactId>li3-test</artifactId>
	<version>0.0.9</version>    
	<executions>
	  <execution>
	    <id>run-lithium-tests</id>
	    <phase>test</phase>
	    <goals>
	      <goal>li3-test</goal>
	    </goals>
	    <configuration>
	      <li3ScriptPath>${basedir}/path/to/lithium/lithium/console/li3</li3ScriptPath>
	      <li3TestPath>${basedir}/path/to/app/tests</li3TestPath>
	    </configuration>
	  </execution>
	</executions>
      </plugin>

Then you can run tests with maven!

mvn test
com.ning.maven.plugins

Ning

Versions

Version
0.0.13
0.0.12
0.0.10
0.0.9