public class JooTestMojo extends JooTestMojoBase
testSuiteName. Since a real browser is the best JavaScript execution environment
the test now fires up a jetty on a random port between jooUnitJettyPortLowerBound and
jooUnitJettyPortUpperBound contacts a selenium server given by
jooUnitSeleniumRCHost. The Selenium Remote Control then starts a browser, navigates
the browser to the Jetty we just started and waits for jooUnitTestExecutionTimeoutms
for the results to appear on the browser screen.debugTests, project, testOutputDirectory, testResources, testsHtml| Constructor and Description |
|---|
JooTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setSkip(boolean b) |
void |
setSkipTests(boolean b) |
void |
setTestFailureIgnore(boolean b) |
void |
setTestOutputDirectory(File testOutputDirectory) |
void |
setTestResources(ArrayList<org.apache.maven.model.Resource> resources) |
void |
setTestSourceDirectory(File f) |
findJars, getJettyUrl, getTestUrl, isTestAvailable, jettyRunTest, stopServerIgnoreException, wrappublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void setSkip(boolean b)
public void setSkipTests(boolean b)
public void setTestSourceDirectory(File f)
public void setTestResources(ArrayList<org.apache.maven.model.Resource> resources)
public void setTestFailureIgnore(boolean b)
public void setTestOutputDirectory(File testOutputDirectory)
Copyright © 2002–2015 CoreMedia AG. All rights reserved.