Class InPluginVMSurefireStarter

java.lang.Object
org.apache.maven.plugin.surefire.InPluginVMSurefireStarter

public class InPluginVMSurefireStarter extends Object
Starts the provider in the same VM as the surefire plugin.
This part of the booter is always guaranteed to be in the same vm as the tests will be run in.
Author:
Jason van Zyl, Brett Porter, Emmanuel Venisse, Dan Fabulich, Kristian Rosenvold
  • Constructor Details

    • InPluginVMSurefireStarter

      public InPluginVMSurefireStarter(@Nonnull org.apache.maven.surefire.booter.StartupConfiguration startupConfig, @Nonnull org.apache.maven.surefire.booter.ProviderConfiguration providerConfig, @Nonnull StartupReportConfiguration startupReportConfig, @Nonnull org.apache.maven.plugin.surefire.log.api.ConsoleLogger consoleLogger, @Nonnull Platform platform)
  • Method Details

    • runSuitesInProcess

      public org.apache.maven.surefire.api.suite.RunResult runSuitesInProcess(@Nonnull org.apache.maven.surefire.api.util.DefaultScanResult scanResult) throws org.apache.maven.surefire.booter.SurefireExecutionException, org.apache.maven.surefire.api.testset.TestSetFailedException
      Throws:
      org.apache.maven.surefire.booter.SurefireExecutionException
      org.apache.maven.surefire.api.testset.TestSetFailedException