Package org.jvnet.hudson.test

Test harness for Hudson and its plugins.

See:
          Description

Interface Summary
FakeLauncher Fake a process launch.
HudsonHomeLoader Controls how a HudsonTestCase initializes HUDSON_HOME.
LenientRunnable Like Runnable but can throw any exception.
 

Class Summary
CaptureEnvironmentBuilder Builder that captures the environment variables used during a build.
CaptureEnvironmentBuilder.DescriptorImpl  
ClosureExecuterAction Server-side logic that implements HudsonTestCase.executeOnServer(Callable).
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  
FakeLauncher.FinishedProc Fake Proc implementation that represents a completed process.
GroovyHudsonTestCase HudsonTestCase with more convenience methods for 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 Base class for all Hudson test cases.
JavaNetReverseProxy Acts as a reverse proxy to https://hudson.dev.java.net/ , so that during a test we can avoid hitting java.net.
JellyTestSuiteBuilder Builds up a TestSuite for performing static syntax checks on Jelly scripts.
MockBuilder Forces the build result to be some pre-configured value.
MockBuilder.DescriptorImpl  
PluginAutomaticTestBuilder Called by the code generated by maven-hpi-plugin to build tests for plugins.
PretendSlave Slave that pretends to fork processes.
PretendSlave.DescriptorImpl  
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.
TestPluginManager PluginManager to speed up unit tests.
TouchBuilder  
UnstableBuilder Mock Builder that always cause a build to fail.
UnstableBuilder.DescriptorImpl  
 

Annotation Types Summary
Bug Marks a test case to a bug filed in the issue tracker.
Email Marks a test case to a bug reported in the mailing list.
For Marks a test case as a test related to the specified production class.
TestExtension Works like Extension except used for inserting extensions during unit tests.
Url Marks a test case to a bug reported in the other sources.
 

Package org.jvnet.hudson.test Description

Test harness for Hudson and its plugins. Start exploring from HudsonTestCase.



Copyright © 2010. All Rights Reserved.