net.jangaroo.jooc.mvnplugin.test
Class PhantomJsTestRunner
java.lang.Object
net.jangaroo.jooc.mvnplugin.test.PhantomJsTestRunner
public class PhantomJsTestRunner
- extends Object
PhantomJsTestRunner
public PhantomJsTestRunner(String phantomjs,
File testOutputDirectory,
String testRunner,
String testSuite,
String phantomArgs,
int timeout,
org.apache.maven.plugin.logging.Log log)
- Parameters:
phantomjs - the binary to executetestOutputDirectory - the directory containing the classes to testtestRunner - the test runner script to be loaded in phantomjstestSuite - the test suite class to runphantomArgs - additional arguments to be passed to the phantomjs runner scripttimeout - timeout in secondslog - the maven log
execute
public boolean execute()
throws org.codehaus.plexus.util.cli.CommandLineException
- Throws:
org.codehaus.plexus.util.cli.CommandLineException
isTestAvailable
public boolean isTestAvailable()
canRun
public boolean canRun()
toString
public String toString()
- Overrides:
toString in class Object
getTestResult
public String getTestResult()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.