Class ExtensionTestConfig
- java.lang.Object
-
- com.exasol.extensionmanager.itest.ExtensionTestConfig
-
public class ExtensionTestConfig extends Object
Configuration for integration tests of extensions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbuildExtension()Check if the extension should be built before running the tests.booleanbuildExtensionManager()Check if the extension manager should be built before running the tests.PathgetConfigFile()Get the path of the config file.StringgetExtensionManagerVersion()Get the extension manager version to use for the tests.Optional<Path>getLocalExtensionManagerProject()Get the configured path to the local extension manager project or an emptyOptionalif it is not configured.
-
-
-
Method Detail
-
getLocalExtensionManagerProject
public Optional<Path> getLocalExtensionManagerProject()
Get the configured path to the local extension manager project or an emptyOptionalif it is not configured.- Returns:
- configured path to the local extension manager
-
getExtensionManagerVersion
public String getExtensionManagerVersion()
Get the extension manager version to use for the tests. If the POM file of the extension does not specify a version, this defaults to version of the Manifest in the JAR or"latest"if no Manifest exists.- Returns:
- extension manager version
-
buildExtension
public boolean buildExtension()
Check if the extension should be built before running the tests. This is useful for speeding up tests when there are no changes to the extension.- Returns:
trueif the extension should be built before running the tests
-
buildExtensionManager
public boolean buildExtensionManager()
Check if the extension manager should be built before running the tests. This is useful for speeding up tests when there are no changes to the extension manager.- Returns:
trueif the extension manager should be built before running the tests
-
getConfigFile
public Path getConfigFile()
Get the path of the config file.- Returns:
- path of the config file
-
-