Interface ExtensionBuilder


  • public interface ExtensionBuilder
    This interface allows customizing how extensions are built before running integration tests.
    • Method Detail

      • createDefaultNpmBuilder

        static ExtensionBuilder createDefaultNpmBuilder​(Path sourceDir,
                                                        Path builtJsExtension)
        Create a default builder that builds the extension by executing npm run build.
        Parameters:
        sourceDir - source directory containing package.json and other project files
        builtJsExtension - path to the built JS extension file
        Returns:
        new default extension builder
      • build

        void build()
        Build the extension JS file.
      • getExtensionFile

        Path getExtensionFile()
        Get the path to the extension JS file. The file may be missing or outdated if build() was not called before.
        Returns:
        path to the extension JS file.