| Interface | Description |
|---|---|
| EndOfTestListener |
Gets notified before the test completes to perform additional cleanup.
|
| FakeLauncher |
Fake a process launch.
|
| HudsonHomeLoader |
Controls how a
HudsonTestCase initializes JENKINS_HOME. |
| LenientRunnable |
Like
Runnable but can throw any exception. |
| Class | Description |
|---|---|
| BuildWatcher |
Echoes build output to standard error as it arrives.
|
| BuildWatcher.Listener | |
| CaptureEnvironmentBuilder |
Builder that captures the environment variables used during a build. |
| CaptureEnvironmentBuilder.DescriptorImpl | |
| ChannelShutdownListener |
Runs at the end of the test to cleanup any live channels.
|
| ClosureExecuterAction |
Server-side logic that implements
HudsonTestCase.executeOnServer(Callable). |
| ComputerConnectorTester |
Test bed to verify the configuration roundtripness of the
ComputerConnector. |
| ComputerConnectorTester.DescriptorImpl | |
| DefaultConstructorChecker |
Tests that the specified class has the default constructor.
|
| ExtractChangeLogParser | |
| ExtractChangeLogParser.ExtractChangeLogEntry | |
| ExtractChangeLogParser.FileInZip | |
| ExtractChangeLogSet | |
| ExtractResourceSCM |
SCM useful for testing that extracts the given resource as a zip file. |
| ExtractResourceWithChangesSCM |
SCM useful for testing that extracts the given resource as a zip file. |
| FailureBuilder |
Mock
Builder that always cause a build to fail. |
| FailureBuilder.DescriptorImpl | |
| FakeChangeLogSCM |
Fake SCM implementation that can report arbitrary commits from arbitrary users.
|
| FakeChangeLogSCM.ChangelogAction | |
| FakeChangeLogSCM.EntryImpl | |
| FakeChangeLogSCM.FakeChangeLogParser | |
| FakeChangeLogSCM.FakeChangeLogSet | |
| FakeLauncher.FinishedProc |
Fake
Proc implementation that represents a completed process. |
| GroovyHudsonTestCase | Deprecated
Use
GroovyJenkinsRule instead. |
| GroovyJenkinsRule |
JenkinsRule variant with special options for tests written in Groovy. |
| HudsonHomeLoader.CopyExisting |
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
|
| HudsonHomeLoader.Local |
Allocates a new directory by copying from a test resource
|
| HudsonPageCreator |
PageCreator that understands JNLP file. |
| HudsonTestCase | Deprecated
New code should use
JenkinsRule. |
| HudsonTestCase.TestBuildWrapper | |
| HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor | |
| JavaNetReverseProxy |
Acts as a reverse proxy, so that during a test we can avoid hitting updates.jenkins-ci.org.
|
| JellyTestSuiteBuilder |
Builds up a
TestSuite for performing static syntax checks on Jelly scripts. |
| JenkinsComputerConnectorTester |
Test bed to verify the configuration roundtripness of the
ComputerConnector. |
| JenkinsComputerConnectorTester.DescriptorImpl | |
| JenkinsMatchers |
Some handy matchers.
|
| JenkinsRecipe.Runner<T extends Annotation> |
The code that implements the recipe semantics.
|
| JenkinsRule |
JUnit rule to allow test cases to fire up a Jenkins instance.
|
| JenkinsRule.DummySecurityRealm | |
| JenkinsRule.TestBuildWrapper | |
| JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor | |
| MemoryAssert |
Static utility methods for verifying heap memory usage.
|
| MemoryAssert.HistogramElement | |
| MilliSecLogFormatter |
Formatter that prints out milliseconds. |
| MockBuilder |
Forces the build result to be some pre-configured value.
|
| MockBuilder.DescriptorImpl | |
| MockFolder |
Minimal implementation of a modifiable item group akin to the CloudBees Folders plugin.
|
| MockFolder.DescriptorImpl | |
| MockQueueItemAuthenticator |
Allows testing of anything related to
QueueItemAuthenticator. |
| MockQueueItemAuthenticator.DescriptorImpl | |
| PluginAutomaticTestBuilder |
Called by the code generated by maven-hpi-plugin to build tests for plugins.
|
| PluginAutomaticTestBuilder.OtherTests | |
| PretendSlave |
Slave that pretends to fork processes.
|
| PretendSlave.DescriptorImpl | |
| RestartableJenkinsRule |
Provides a pattern for executing a sequence of steps.
|
| RunLoadCounter |
Utility to determine when a build record is loaded.
|
| RunLoadCounter.Marker |
Used internally.
|
| RunLoadCounter.MarkerAdder |
Used internally.
|
| SequenceLock |
Lock mechanism to let multiple threads execute phases sequentially.
|
| SingleFileSCM |
SCM useful for testing that puts just one file in the workspace. |
| SleepBuilder |
Builder that just sleeps for the specified amount of milli-seconds. |
| SleepBuilder.DescriptorImpl | |
| TemporaryDirectoryAllocator |
Allocates temporary directories and cleans it up at the end.
|
| TestBuilder |
Partial
Builder implementation for writing a one-off throw-away builder used during tests. |
| TestCrumbIssuer |
A crumb issuer that issues a constant crumb value.
|
| TestCrumbIssuer.DescriptorImpl | |
| TestEnvironment |
TODO: deprecate this, and just consolidate this to
HudsonTestCase. |
| TestExtensionLoader |
Loads
TestExtensions. |
| TestNotifier |
Partial
Notifier implementation to facilitate notifier implementation for testing. |
| TestPluginManager |
PluginManager to speed up unit tests. |
| ThreadPoolImpl | |
| TouchBuilder | |
| UnstableBuilder |
Mock
Builder that always cause a build to fail. |
| UnstableBuilder.DescriptorImpl | |
| WithoutJenkins.RunnerImpl |
| Exception | Description |
|---|---|
| HudsonTestCase.BreakException | |
| JenkinsRule.BreakException |
| Annotation Type | Description |
|---|---|
| JenkinsRecipe |
Meta-annotation for recipe annotations, which controls
the test environment set up.
|
| RandomlyFails |
Marker for test methods which have been observed to fail for no easily understood reason.
|
| TestExtension |
Works like
Extension except used for inserting extensions during unit tests. |
| WithoutJenkins |
An annotation for test methods that do not require the
JenkinsRule/HudsonTestCase to create and tear down the jenkins
instance. |
JenkinsRule.Copyright © 2004–2015. All rights reserved.