@Mojo(name="generateTestApp",
defaultPhase=PROCESS_TEST_CLASSES,
requiresDependencyResolution=TEST,
threadSafe=true)
public class JooGenerateTestAppMojo
extends AbstractSenchaMojo
jooUnitJettyPortLowerBound and
jooUnitJettyPortUpperBound and prints out the resulting test app URL.
Tests are executed in one of three ways:
jooUnitSeleniumRCHost with the test app URL and tries to collect the test result
through Selenium.
interactiveJooUnitTests
(mvn test -DinteractiveJooUnitTests), which simply halts Maven execution
and gives you the opportunity to load and debug the test app in a browser.
jooUnitTestExecutionTimeout (ms)
and interrupt the tests after that time, resulting in a test failure.| Modifier and Type | Field and Description |
|---|---|
protected File |
testOutputDirectory
Directory whose joo/classes sub-directory contains compiled test classes.
|
APP_MANIFEST_CROSS_MODULE_MERGE_STRATEGY, APP_MANIFEST_LOCALIZATION_MERGE_STRATEGY, project, session| Constructor and Description |
|---|
JooGenerateTestAppMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
getAppDirOrJar, getAppManifestFileNameForLocale, getAppManifestFragmentFileNameForLocale, getArtifactFile, getExtFrameworkArtifactPattern, getExtFrameworkArtifactRegexp, getInputStreamForDirOrJar, getManifestEntries, getRootApp, getSenchaJvmArgs, getSenchaLogLevel, getToolkit, isExtFrameworkArtifact, isExtFrameworkDependency, prepareAppManifestByLocale, prepareFile@Parameter(defaultValue="${project.build.testOutputDirectory}")
protected File testOutputDirectory
Copyright © 2002–2021 CoreMedia AG. All rights reserved.