Package org.citrusframework.main
Class TestRunConfiguration
java.lang.Object
org.citrusframework.main.TestRunConfiguration
- Direct Known Subclasses:
CitrusAppConfiguration
- Since:
- 2.7.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultProperties(Map<String, String> defaultProperties) Adds default properties.Gets the defaultProperties.Gets the engine.String[]Gets the includes.Gets the packages.Gets the testJar.Gets the sources.booleanhasTests()booleanisReset()booleanvoidReads default properties in configuration and sets them as system properties.voidsetDefaultProperties(Map<String, String> defaultProperties) Sets the default properties.voidsetDependencies(Set<String> dependencies) voidSets the engine.voidsetIncludes(String[] includes) Sets the includes.voidsetModules(Set<String> modules) voidsetPackages(List<String> packages) Sets the packages.voidsetReset(boolean reset) voidsetTestJar(File testJar) Sets the testJar.voidsetTestJar(String testJar) voidsetTestSources(List<TestSource> sources) Sets the sources.voidsetVerbose(boolean verbose) voidsetWorkDir(String workDir)
-
Constructor Details
-
TestRunConfiguration
public TestRunConfiguration()
-
-
Method Details
-
getEngine
Gets the engine. -
setEngine
Sets the engine. -
getTestSources
Gets the sources. -
setTestSources
Sets the sources. -
getPackages
Gets the packages. -
setPackages
Sets the packages. -
getIncludes
Gets the includes. -
setIncludes
Sets the includes. -
getTestJar
Gets the testJar. -
setTestJar
Sets the testJar. -
setTestJar
-
getDefaultProperties
Gets the defaultProperties. -
setDefaultProperties
Sets the default properties. -
addDefaultProperties
Adds default properties. -
hasTests
public boolean hasTests() -
isVerbose
public boolean isVerbose() -
setVerbose
public void setVerbose(boolean verbose) -
isReset
public boolean isReset() -
setReset
public void setReset(boolean reset) -
setWorkDir
-
getWorkDir
-
getModules
-
setModules
-
getDependencies
-
setDependencies
-
setDefaultProperties
public void setDefaultProperties()Reads default properties in configuration and sets them as system properties.
-