Uses of Class
org.jvnet.hudson.test.HudsonTestCase
Package
Description
Test harness for Jenkins and its plugins.
Declaratively specify the environment in which a test will be run.
-
Uses of HudsonTestCase in org.jvnet.hudson.test
Modifier and TypeFieldDescriptionfinal HudsonTestCase
ComputerConnectorTester.testCase
final HudsonTestCase
TestEnvironment.testCase
Current test case being run (null for a JUnit 4 test).Modifier and TypeMethodDescriptionHudsonTestCase.with
(HudsonHomeLoader homeLoader) Deprecated.HudsonTestCase.withExistingHome
(File source) Deprecated.HudsonTestCase.withNewHome()
Deprecated.HudsonTestCase.withPresetData
(String name) Deprecated.Declares that this test case expects to start with one of the preset data sets.ModifierConstructorDescriptionComputerConnectorTester
(HudsonTestCase testCase) TestEnvironment
(HudsonTestCase testCase) -
Uses of HudsonTestCase in org.jvnet.hudson.test.recipes
Modifier and TypeMethodDescriptionvoid
Recipe.Runner.decorateHome
(HudsonTestCase testCase, File home) Called right beforeJenkins(File, jakarta.servlet.ServletContext)
is invoked to decorate the hudson home directory.void
WithPlugin.RunnerImpl.decorateHome
(HudsonTestCase testCase, File home) void
WithPluginManager.RunnerImpl.decorateHome
(HudsonTestCase testCase, File home) void
LocalData.RunnerImpl.setup
(HudsonTestCase testCase, LocalData recipe) void
PresetData.RunnerImpl.setup
(HudsonTestCase testCase, PresetData recipe) void
Recipe.Runner.setup
(HudsonTestCase testCase, T recipe) Called duringTestCase.setUp()
to prepare the test environment.void
WithPlugin.RunnerImpl.setup
(HudsonTestCase testCase, WithPlugin recipe) void
WithPluginManager.RunnerImpl.setup
(HudsonTestCase testCase, WithPluginManager recipe) void
WithTimeout.RunnerImpl.setup
(HudsonTestCase testCase, WithTimeout recipe) Deprecated.void
Recipe.Runner.tearDown
(HudsonTestCase testCase, T recipe) Called duringTestCase.tearDown()
to shut down the test environment.
GroovyJenkinsRule
instead.