@Mojo(name="test",
defaultPhase=TEST,
threadSafe=true,
requiresDependencyResolution=TEST)
public class TestMojo
extends org.apache.maven.plugin.surefire.SurefirePlugin
rerunFailingTestsCount, runOrderargLine, artifactFactory, artifactResolver, basedir, childDelegation, disableXmlReport, enableAssertions, environmentVariables, excludedGroups, excludes, failIfNoTests, FORK_NUMBER_PLACEHOLDER, forkMode, groups, junitArtifactName, jvm, localRepository, metadataSource, objectFactory, parallel, parallelMavenExecution, parallelOptimized, perCoreThreadCount, pluginArtifactMap, pluginDescriptor, project, projectArtifactMap, properties, redirectTestOutputToFile, remoteRepositories, reportNameSuffix, session, skip, skipExec, skipTests, systemProperties, systemPropertiesFile, systemPropertyVariables, testClassesDirectory, testNGArtifactName, testSourceDirectory, THREAD_NUMBER_PLACEHOLDER, threadCount, threadCountClasses, threadCountMethods, threadCountSuites, toolchainManager, trimStackTrace, useUnlimitedThreads, workingDirectory| Constructor and Description |
|---|
TestMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getBaseUrl() |
String |
getDriverType() |
Map<String,String> |
getSystemPropertyVariables() |
void |
setBaseUrl(String baseUrl) |
void |
setDriverType(String driverType) |
getBasedir, getClassesDirectory, getDebugForkedProcess, getDefaultIncludes, getExcludesFile, getFailIfNoSpecifiedTests, getForkedProcessTimeoutInSeconds, getIncludes, getIncludesFile, getParallelTestsTimeoutForcedInSeconds, getParallelTestsTimeoutInSeconds, getPluginName, getReportFormat, getReportsDirectory, getRerunFailingTestsCount, getRunOrder, getShutdown, getSkipAfterFailureCount, getSuiteXmlFiles, getTest, getTestClassesDirectory, handleSummary, isPrintSummary, isSkip, isSkipExec, isSkipExecution, isSkipTests, isTestFailureIgnore, isUseFile, isUseManifestOnlyJar, isUseSystemClassLoader, setBasedir, setClassesDirectory, setDebugForkedProcess, setFailIfNoSpecifiedTests, setForkedProcessTimeoutInSeconds, setIncludes, setParallelTestsTimeoutForcedInSeconds, setParallelTestsTimeoutInSeconds, setPrintSummary, setReportFormat, setReportsDirectory, setRunOrder, setSkip, setSkipExec, setSkipTests, setSuiteXmlFiles, setTest, setTestClassesDirectory, setTestFailureIgnore, setUseFile, setUseManifestOnlyJar, setUseSystemClassLoaderaddPluginSpecificChecksumItems, cleanupForkConfiguration, convertWithCoreCount, createCopyAndReplaceForkNumPlaceholder, createForkStarter, createInprocessStarter, createProviders, effectiveIsEnableAssertions, getAdditionalClasspathElements, getArgLine, getArtifactFactory, getArtifactResolver, getClassLoaderConfiguration, getClasspathDependencyExcludes, getClasspathDependencyScopeExclude, getDependenciesToScan, getEffectiveForkCount, getEnvironmentVariables, getExcludedGroups, getExcludes, getFailIfNoTests, getForkConfiguration, getForkCount, getForkMode, getGroups, getJunitArtifactName, getJvm, getLocalRepository, getMetadataSource, getObjectFactory, getParallel, getPerCoreThreadCount, getPluginArtifactMap, getPluginDescriptor, getProject, getProjectArtifactMap, getRemoteRepositories, getReportNameSuffix, getSession, getSpecificTests, getStatisticsFileName, getSystemProperties, getSystemPropertiesFile, getTestNGArtifactName, getTestSourceDirectory, getThreadCount, getThreadCountClasses, getThreadCountMethods, getThreadCountSuites, getToolchainManager, getUseUnlimitedThreads, getWorkingDirectory, hasExecutedBefore, isAnyConcurrencySelected, isAnyGroupsSelected, isChildDelegation, isDisableXmlReport, isEnableAssertions, isForking, isMavenParallel, isParallelOptimized, isRedirectTestOutputToFile, isReuseForks, isTrimStackTrace, logDebugOrCliShowErrors, logReportsDirectory, setAdditionalClasspathElements, setArgLine, setArtifactFactory, setArtifactResolver, setChildDelegation, setClasspathDependencyExcludes, setClasspathDependencyScopeExclude, setDependenciesToScan, setDisableXmlReport, setEnableAssertions, setEnvironmentVariables, setExcludedGroups, setExcludes, setFailIfNoTests, setForkMode, setGroups, setJunitArtifactName, setLocalRepository, setMetadataSource, setObjectFactory, setParallel, setParallelOptimized, setPerCoreThreadCount, setPluginArtifactMap, setProject, setProjectArtifactMap, setProperties, setRedirectTestOutputToFile, setRemoteRepositories, setReportNameSuffix, setSession, setSystemProperties, setSystemPropertiesFile, setSystemPropertyVariables, setTestNGArtifactName, setTestSourceDirectory, setThreadCount, setThreadCountClasses, setThreadCountMethods, setThreadCountSuites, setToolchainManager, setTrimStackTrace, setUseUnlimitedThreads, setWorkingDirectory, showToLoggetLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.apache.maven.plugin.surefire.AbstractSurefireMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic Map<String,String> getSystemPropertyVariables()
getSystemPropertyVariables in class org.apache.maven.plugin.surefire.AbstractSurefireMojopublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
public String getDriverType()
public void setDriverType(String driverType)
© 2016 Monocre Inc. AllRights Reserved.