Class Recipe.Runner<T extends Annotation>

java.lang.Object
org.jvnet.hudson.test.recipes.Recipe.Runner<T>
Type Parameters:
T - The recipe annotation associated with this runner.
Direct Known Subclasses:
LocalData.RunnerImpl, PresetData.RunnerImpl, WithoutJenkins.RunnerImpl, WithPlugin.RunnerImpl, WithPluginManager.RunnerImpl, WithTimeout.RunnerImpl
Enclosing class:
Recipe

public abstract static class Recipe.Runner<T extends Annotation> extends Object
The code that implements the recipe semantics.
  • Constructor Details

    • Runner

      public Runner()
  • Method Details

    • setup

      public void setup(HudsonTestCase testCase, T recipe) throws Exception
      Called during TestCase.setUp() to prepare the test environment.
      Throws:
      Exception
    • decorateHome

      public void decorateHome(HudsonTestCase testCase, File home) throws Exception
      Called right before Jenkins(File, jakarta.servlet.ServletContext) is invoked to decorate the hudson home directory.
      Throws:
      Exception
    • tearDown

      public void tearDown(HudsonTestCase testCase, T recipe) throws Exception
      Called during TestCase.tearDown() to shut down the test environment.
      Throws:
      Exception