| Package | Description |
|---|---|
| org.jvnet.hudson.test |
Test harness for Jenkins and its plugins.
|
| org.jvnet.hudson.test.recipes |
Declaratively specify the environment in which a test will be run.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GroovyHudsonTestCase
Deprecated.
Use
GroovyJenkinsRule instead. |
static class |
PluginAutomaticTestBuilder.CliSanityTest |
| Modifier and Type | Field and Description |
|---|---|
HudsonTestCase |
TestEnvironment.testCase
Current test case being run (null for a JUnit 4 test).
|
HudsonTestCase |
ComputerConnectorTester.testCase |
| Modifier and Type | Method and Description |
|---|---|
HudsonTestCase |
HudsonTestCase.with(HudsonHomeLoader homeLoader)
Deprecated.
|
HudsonTestCase |
HudsonTestCase.withExistingHome(File source)
Deprecated.
|
HudsonTestCase |
HudsonTestCase.withNewHome()
Deprecated.
|
HudsonTestCase |
HudsonTestCase.withPresetData(String name)
Deprecated.
Declares that this test case expects to start with one of the preset data sets.
|
| Constructor and Description |
|---|
ComputerConnectorTester(HudsonTestCase testCase) |
TestEnvironment(HudsonTestCase testCase) |
| Modifier and Type | Method and Description |
|---|---|
void |
WithPluginManager.RunnerImpl.decorateHome(HudsonTestCase testCase,
File home) |
void |
Recipe.Runner.decorateHome(HudsonTestCase testCase,
File home)
Called right before
jenkins.model.Jenkins#Hudson(File, ServletContext) is invoked
to decorate the hudson home directory. |
void |
WithPlugin.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 during
TestCase.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) |
void |
Recipe.Runner.tearDown(HudsonTestCase testCase,
T recipe)
Called during
TestCase.tearDown() to shut down the test environment. |
Copyright © 2004-2014. All Rights Reserved.