Class SurefireLauncher
java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireLauncher
Encapsulate all needed features to start a surefire run
Also includes thread-safe access to the extracted resource files
Also includes thread-safe access to the extracted resource files
- Author:
- Kristian Rosenvold -
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateProfile
(String profile) failIfNoSpecifiedTests
(boolean fail) failIfNoTests
(boolean fail) forkCount
(int forkCount) forkOnce()
getSubProjectLauncher
(String subProject) getSubProjectValidator
(String subProject) maven()
mavenTestFailureIgnore
(boolean fail) parallelTestsTimeoutForcedInSeconds
(double timeout) parallelTestsTimeoutInSeconds
(double timeout) printSummary
(boolean printsummary) redirectToFile
(boolean redirect) void
reset()
reuseForks
(boolean reuseForks) runOrderRandomSeed
(String runOrderRandomSeed) setExcludedGroups
(String excludedGroups) setJUnitVersion
(String version) setLogFileName
(String logFileName) setMavenOpts
(String opts) setTestToRun
(String basicTest) threadCount
(int threadCount) threadCountClasses
(int count) threadCountMethods
(int count) threadCountSuites
(int count) useSystemClassLoader
(boolean useSystemClassLoader)
-
Constructor Details
-
SurefireLauncher
-
-
Method Details
-
maven
-
reset
public void reset() -
getSubProjectLauncher
-
getSubProjectValidator
public OutputValidator getSubProjectValidator(String subProject) throws org.apache.maven.it.VerificationException - Throws:
org.apache.maven.it.VerificationException
-
setMavenOpts
-
showErrorStackTraces
-
debugLogging
-
debugSurefireFork
-
failNever
-
groups
-
addGoal
-
executeTest
-
executeInstall
-
executeVerify
-
execute
-
executeSurefireReport
-
executeCurrentGoals
-
printSummary
-
redirectToFile
-
forkOnce
-
forkNever
-
forkAlways
-
forkPerTest
-
forkPerThread
-
threadCount
-
forkCount
-
reuseForks
-
forkMode
-
runOrder
-
runOrderRandomSeed
-
failIfNoTests
-
mavenTestFailureIgnore
-
failIfNoSpecifiedTests
-
useSystemClassLoader
-
activateProfile
-
disablePerCoreThreadCount
-
disableParallelOptimization
-
parallel
-
parallelSuites
-
parallelClasses
-
parallelMethods
-
parallelBoth
-
parallelSuitesAndClasses
-
parallelSuitesAndMethods
-
parallelClassesAndMethods
-
parallelAll
-
useUnlimitedThreads
-
threadCountSuites
-
threadCountClasses
-
threadCountMethods
-
parallelTestsTimeoutInSeconds
-
parallelTestsTimeoutForcedInSeconds
-
argLine
-
sysProp
-
setJUnitVersion
-
setGroups
-
setExcludedGroups
-
getUnpackedAt
-
addFailsafeReportOnlyGoal
-
addSurefireReportGoal
-
addSurefireReportOnlyGoal
-
setTestToRun
-
setForkJvm
-
setLogFileName
-