Uses of Class
org.jvnet.hudson.test.HudsonTestCase
Packages that use 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
Subclasses of HudsonTestCase in org.jvnet.hudson.testFields in org.jvnet.hudson.test declared as HudsonTestCaseModifier and TypeFieldDescriptionfinal HudsonTestCase
ComputerConnectorTester.testCase
final HudsonTestCase
TestEnvironment.testCase
Current test case being run (null for a JUnit 4 test).Methods in org.jvnet.hudson.test that return HudsonTestCaseModifier 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.Constructors in org.jvnet.hudson.test with parameters of type HudsonTestCaseModifierConstructorDescriptionComputerConnectorTester
(HudsonTestCase testCase) TestEnvironment
(HudsonTestCase testCase) -
Uses of HudsonTestCase in org.jvnet.hudson.test.recipes
Methods in org.jvnet.hudson.test.recipes with parameters of type HudsonTestCaseModifier 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.