Class LauncherConfig.Builder

    • Method Detail

      • enableTestExecutionListenerAutoRegistration

        public LauncherConfig.Builder enableTestExecutionListenerAutoRegistration​(boolean enabled)
        Configure the auto-registration flag for test execution listeners.

        Defaults to true.

        Parameters:
        enabled - true if test execution listeners should be automatically registered
        Returns:
        this builder for method chaining
      • enableTestEngineAutoRegistration

        public LauncherConfig.Builder enableTestEngineAutoRegistration​(boolean enabled)
        Configure the auto-registration flag for test engines.

        Defaults to true.

        Parameters:
        enabled - true if test engines should be automatically registered
        Returns:
        this builder for method chaining
      • addTestEngines

        public LauncherConfig.Builder addTestEngines​(TestEngine... engines)
        Add all of the supplied engines to the configuration.
        Parameters:
        engines - additional test engines to register; never null or containing null
        Returns:
        this builder for method chaining
      • addTestExecutionListeners

        public LauncherConfig.Builder addTestExecutionListeners​(TestExecutionListener... listeners)
        Add all of the supplied listeners to the configuration.
        Parameters:
        listeners - additional test execution listeners to register; never null or containing null
        Returns:
        this builder for method chaining