Class ExtensionTestConfig


  • public class ExtensionTestConfig
    extends Object
    Configuration for integration tests of extensions.
    • Method Detail

      • getLocalExtensionManagerProject

        public Optional<Path> getLocalExtensionManagerProject()
        Get the configured path to the local extension manager project or an empty Optional if 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, defaults to latest.
        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:
        true if 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:
        true if 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