Package net.jangaroo.jooc.mvnplugin.test
Class PhantomJsTestRunner
- java.lang.Object
-
- net.jangaroo.jooc.mvnplugin.test.PhantomJsTestRunner
-
public class PhantomJsTestRunner extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static PatternLOG_LEVEL_PATTERN
-
Constructor Summary
Constructors Constructor Description PhantomJsTestRunner(String phantomjs, String testPageUrl, String testResultFilename, String testRunner, int timeout, int maxRetriesOnCrashes, int phantomjsResourceTimeout, boolean phantomjsDebug, boolean phantomjsWebSecurity, org.apache.maven.plugin.logging.Log log)
-
-
-
Field Detail
-
LOG_LEVEL_PATTERN
public static final Pattern LOG_LEVEL_PATTERN
-
-
Constructor Detail
-
PhantomJsTestRunner
public PhantomJsTestRunner(String phantomjs, String testPageUrl, String testResultFilename, String testRunner, int timeout, int maxRetriesOnCrashes, int phantomjsResourceTimeout, boolean phantomjsDebug, boolean phantomjsWebSecurity, org.apache.maven.plugin.logging.Log log)
- Parameters:
phantomjs- the binary to executetestPageUrl- the URL of the test page to loadtestResultFilename- the file to write the test result intotestRunner- the test bootstrap script to be loaded in phantomjstimeout- timeout in secondsmaxRetriesOnCrashes- number of retries when receiving unexpected result from phantomjs (crash?)phantomjsResourceTimeout-phantomjsDebug-phantomjsWebSecurity-log- the maven log
-
-