@Mojo(name="integration-test", requiresProject=true, requiresDependencyResolution=TEST, defaultPhase=INTEGRATION_TEST, threadSafe=true) public class IntegrationTestMojo extends AbstractSurefireMojo
basedir, skip, skipExec, skipTests, testClassesDirectory
Constructor and Description |
---|
IntegrationTestMojo() |
cleanupForkConfiguration, convertWithCoreCount, createCopyAndReplaceForkNumPlaceholder, createProviders, effectiveIsEnableAssertions, execute, getAdditionalClasspathElements, getArgLine, getClassLoaderConfiguration, getClasspathDependencyExcludes, getClasspathDependencyScopeExclude, getConsoleLogger, getDependenciesToScan, getEffectiveForkCount, getEnvironmentVariables, getExcludedGroups, getFailIfNoTests, getForkCount, getGroups, getJdkToolchain, getJunitArtifactName, getJvm, getLocalRepositoryPath, getMojoArtifact, getObjectFactory, getParallel, getPerCoreThreadCount, getPluginArtifactMap, getPluginDescriptor, getProject, getProjectArtifactMap, getProjectBuildDirectory, getReportNameSuffix, getSession, getSpecificTests, getSystemProperties, getSystemPropertyVariables, getTempDir, getTestNGArtifactName, getTestSourceDirectory, getThreadCount, getThreadCountClasses, getThreadCountMethods, getThreadCountSuites, getToolchainManager, getUseUnlimitedThreads, getWorkingDirectory, hasExecutedBefore, isAnyConcurrencySelected, isAnyGroupsSelected, isChildDelegation, isDisableXmlReport, isEnableAssertions, isEnableOutErrElements, isEnablePropertiesElement, isForking, isMavenParallel, isParallelOptimized, isRedirectTestOutputToFile, isReuseForks, isTrimStackTrace, logDebugOrCliShowErrors, logReportsDirectory, resolveDependencies, setAdditionalClasspathElements, setArgLine, setChildDelegation, setClasspathDependencyExcludes, setClasspathDependencyScopeExclude, setDependenciesToScan, setDisableXmlReport, setEnableAssertions, setEnableOutErrElements, setEnablePropertiesElement, setEnvironmentVariables, setExcludedGroups, setFailIfNoTests, setGroups, setJdkToolchain, setJunitArtifactName, setObjectFactory, setParallel, setParallelOptimized, setPerCoreThreadCount, setPluginArtifactMap, setProject, setProjectArtifactMap, setProjectBuildDirectory, setProperties, setRedirectTestOutputToFile, setReportNameSuffix, setSession, setSystemProperties, setSystemPropertyVariables, setTempDir, setTestNGArtifactName, setTestSourceDirectory, setThreadCount, setThreadCountClasses, setThreadCountMethods, setThreadCountSuites, setToolchainManager, setTrimStackTrace, setUseUnlimitedThreads, setWorkingDirectory, warnIfIllegalFailOnFlakeCount
protected int getRerunFailingTestsCount()
getRerunFailingTestsCount
in class AbstractSurefireMojo
protected void handleSummary(RunResult summary, Exception firstForkException) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
handleSummary
in class AbstractSurefireMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected boolean isSkipExecution()
isSkipExecution
in class AbstractSurefireMojo
protected String getPluginName()
getPluginName
in class AbstractSurefireMojo
protected String[] getDefaultIncludes()
getDefaultIncludes
in class AbstractSurefireMojo
protected String getReportSchemaLocation()
getReportSchemaLocation
in class AbstractSurefireMojo
public boolean isSkipTests()
@Deprecated public void setSkipTests(boolean skipTests)
public boolean isSkipITs()
public void setSkipITs(boolean skipITs)
@Deprecated public boolean isSkipExec()
@Deprecated public void setSkipExec(boolean skipExec)
public boolean isSkip()
public void setSkip(boolean skip)
public File getBasedir()
public void setBasedir(File basedir)
public File getTestClassesDirectory()
public void setTestClassesDirectory(File testClassesDirectory)
public File getMainBuildPath()
useSystemClassLoader
is ignored and the IsolatedClassLoader
is
used instead. See the resolution of ClassLoaderConfiguration
.public void setMainBuildPath(File mainBuildPath)
public void setDefaultClassesDirectory(File defaultClassesDirectory)
public File getReportsDirectory()
public void setReportsDirectory(File reportsDirectory)
public String getTest()
public void setTest(String test)
public File getSummaryFile()
public void setSummaryFile(File summaryFile)
public boolean isPrintSummary()
public void setPrintSummary(boolean printSummary)
public String getReportFormat()
public void setReportFormat(String reportFormat)
public boolean isUseFile()
public void setUseFile(boolean useFile)
public String getDebugForkedProcess()
public void setDebugForkedProcess(String debugForkedProcess)
public int getForkedProcessTimeoutInSeconds()
public void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
public int getForkedProcessExitTimeoutInSeconds()
public void setForkedProcessExitTimeoutInSeconds(int forkedProcessExitTimeoutInSeconds)
public double getParallelTestsTimeoutInSeconds()
public void setParallelTestsTimeoutInSeconds(double parallelTestsTimeoutInSeconds)
public double getParallelTestsTimeoutForcedInSeconds()
public void setParallelTestsTimeoutForcedInSeconds(double parallelTestsTimeoutForcedInSeconds)
public boolean isUseSystemClassLoader()
public void setUseSystemClassLoader(boolean useSystemClassLoader)
public boolean isUseManifestOnlyJar()
public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
public String getEncoding()
public void setEncoding(String encoding)
public boolean isTestFailureIgnore()
public void setTestFailureIgnore(boolean testFailureIgnore)
protected void addPluginSpecificChecksumItems(ChecksumCalculator checksum)
addPluginSpecificChecksumItems
in class AbstractSurefireMojo
public File getSystemPropertiesFile()
getSystemPropertiesFile
in class AbstractSurefireMojo
public void setSystemPropertiesFile(File systemPropertiesFile)
setSystemPropertiesFile
in class AbstractSurefireMojo
public boolean getFailIfNoSpecifiedTests()
public void setFailIfNoSpecifiedTests(boolean failIfNoSpecifiedTests)
public int getSkipAfterFailureCount()
public String getShutdown()
public List<String> getIncludes()
getIncludes
in interface SurefireExecutionParameters
getIncludes
in class AbstractSurefireMojo
public void setIncludes(List<String> includes)
setIncludes
in interface SurefireExecutionParameters
setIncludes
in class AbstractSurefireMojo
public File[] getSuiteXmlFiles()
getSuiteXmlFiles
in class AbstractSurefireMojo
public void setSuiteXmlFiles(File[] suiteXmlFiles)
setSuiteXmlFiles
in class AbstractSurefireMojo
public String getRunOrder()
getRunOrder
in class AbstractSurefireMojo
public void setRunOrder(String runOrder)
setRunOrder
in class AbstractSurefireMojo
public Long getRunOrderRandomSeed()
getRunOrderRandomSeed
in class AbstractSurefireMojo
public void setRunOrderRandomSeed(Long runOrderRandomSeed)
setRunOrderRandomSeed
in class AbstractSurefireMojo
public File getIncludesFile()
getIncludesFile
in class AbstractSurefireMojo
public File getExcludesFile()
getExcludesFile
in class AbstractSurefireMojo
protected boolean useModulePath()
useModulePath
in class AbstractSurefireMojo
protected void setUseModulePath(boolean useModulePath)
setUseModulePath
in class AbstractSurefireMojo
protected final List<File> suiteXmlFiles()
suiteXmlFiles
in class AbstractSurefireMojo
protected final boolean hasSuiteXmlFiles()
hasSuiteXmlFiles
in class AbstractSurefireMojo
protected final ForkNodeFactory getForkNode()
getForkNode
in class AbstractSurefireMojo
protected final String[] getExcludedEnvironmentVariables()
getExcludedEnvironmentVariables
in class AbstractSurefireMojo
protected final String getEnableProcessChecker()
getEnableProcessChecker
in class AbstractSurefireMojo
public String[] getIncludeJUnit5Engines()
public void setIncludeJUnit5Engines(String[] includeJUnit5Engines)
public String[] getExcludeJUnit5Engines()
public void setExcludeJUnit5Engines(String[] excludeJUnit5Engines)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.