Uses of Class
org.jvnet.hudson.test.JenkinsRule
Packages that use JenkinsRule
Package
Description
Test harness for Jenkins and its plugins.
Declaratively specify the environment in which a test will be run.
-
Uses of JenkinsRule in hudson.cli
Constructors in hudson.cli with parameters of type JenkinsRuleModifierConstructorDescriptionCLICommandInvoker(JenkinsRule rule, hudson.cli.CLICommand command) CLICommandInvoker(JenkinsRule rule, String command) -
Uses of JenkinsRule in hudson.security.pages
Methods in hudson.security.pages with parameters of type JenkinsRule -
Uses of JenkinsRule in hudson.slaves
Subclasses of JenkinsRule in hudson.slavesConstructors in hudson.slaves with parameters of type JenkinsRuleModifierConstructorDescriptionDummyCloudImpl(JenkinsRule rule, int delay) DummyCloudImpl(JenkinsRule rule, int delay, List<hudson.slaves.NodeProperty<?>> nodeProperties) -
Uses of JenkinsRule in org.jvnet.hudson.test
Subclasses of JenkinsRule in org.jvnet.hudson.testModifier and TypeClassDescriptionclassJenkinsRulevariant with special options for tests written in Groovy.static final classFields in org.jvnet.hudson.test declared as JenkinsRuleModifier and TypeFieldDescriptionRestartableJenkinsRule.jDeprecated.final JenkinsRuleJenkinsComputerConnectorTester.jenkinsRuleMethods in org.jvnet.hudson.test that return JenkinsRuleModifier and TypeMethodDescriptionprotected JenkinsRuleRestartableJenkinsRule.createJenkinsRule(org.junit.runner.Description description) Deprecated.JenkinsRule.with(hudson.PluginManager pluginManager) JenkinsRule.with(HudsonHomeLoader homeLoader) JenkinsRule.withExistingHome(File source) JenkinsRule.withNewHome()JenkinsRule.withPresetData(String name) Declares that this test case expects to start with one of the preset data sets.Methods in org.jvnet.hudson.test with parameters of type JenkinsRuleModifier and TypeMethodDescriptionhudson.model.SlaveInboundAgentRule.createAgent(JenkinsRule r, String name) Creates, attaches, and starts a new inbound agent.hudson.model.SlaveInboundAgentRule.createAgent(JenkinsRule r, InboundAgentRule.Options options) Creates, attaches, and optionally starts a new inbound agent.voidJenkinsRecipe.Runner.decorateHome(JenkinsRule jenkinsRule, File home) Called right beforeJenkins(java.io.File, jakarta.servlet.ServletContext)is invoked to decorate the hudson home directory.voidJenkinsSessionRule.Step.run(JenkinsRule r) voidRealJenkinsRule.Step.run(JenkinsRule r) RealJenkinsRule.Step2.run(JenkinsRule r) voidvoidRealJenkinsRule.StepWithOneArg.run(JenkinsRule r, A1 arg1) RealJenkinsRule.StepWithReturnAndOneArg.run(JenkinsRule r, A1 arg1) RealJenkinsRule.StepWithReturnAndThreeArgs.run(JenkinsRule r, A1 arg1, A2 arg2, A3 arg3) RealJenkinsRule.StepWithReturnAndTwoArgs.run(JenkinsRule r, A1 arg1, A2 arg2) voidRealJenkinsRule.StepWithThreeArgs.run(JenkinsRule r, A1 arg1, A2 arg2, A3 arg3) voidRealJenkinsRule.StepWithTwoArgs.run(JenkinsRule r, A1 arg1, A2 arg2) voidRestartableJenkinsRule.Step.run(JenkinsRule r) voidJenkinsRecipe.Runner.setup(JenkinsRule jenkinsRule, T recipe) Called duringTestCase.setUp()to prepare the test environment.voidInboundAgentRule.start(JenkinsRule r, String name) (Re-)starts an existing inbound agent.voidInboundAgentRule.start(JenkinsRule r, InboundAgentRule.Options options) (Re-)starts an existing inbound agent.voidInboundAgentRule.stop(JenkinsRule r, String name) Stop an existing inbound agent and wait for it to go offline.voidJenkinsRecipe.Runner.tearDown(JenkinsRule jenkinsRule, T recipe) Called duringTestCase.tearDown()to shut down the test environment.Constructors in org.jvnet.hudson.test with parameters of type JenkinsRuleModifierConstructorDescriptionJenkinsComputerConnectorTester(JenkinsRule testCase) TailLog(JenkinsRule jr, String job, int number) Watch a build expected to be loaded in the current JVM. -
Uses of JenkinsRule in org.jvnet.hudson.test.junit.jupiter
Subclasses of JenkinsRule in org.jvnet.hudson.test.junit.jupiterMethods in org.jvnet.hudson.test.junit.jupiter with parameters of type JenkinsRuleModifier and TypeMethodDescriptionhudson.model.SlaveInboundAgentExtension.createAgent(JenkinsRule r, String name) Creates, attaches, and starts a new inbound agent.hudson.model.SlaveInboundAgentExtension.createAgent(JenkinsRule r, InboundAgentExtension.Options options) Creates, attaches, and optionally starts a new inbound agent.voidJenkinsSessionExtension.Step.run(JenkinsRule r) voidRealJenkinsExtension.Step.run(JenkinsRule r) RealJenkinsExtension.Step2.run(JenkinsRule r) voidvoidRealJenkinsExtension.StepWithOneArg.run(JenkinsRule r, A1 arg1) RealJenkinsExtension.StepWithReturnAndFourArgs.run(JenkinsRule r, A1 arg1, A2 arg2, A3 arg3, A4 arg4) RealJenkinsExtension.StepWithReturnAndOneArg.run(JenkinsRule r, A1 arg1) RealJenkinsExtension.StepWithReturnAndThreeArgs.run(JenkinsRule r, A1 arg1, A2 arg2, A3 arg3) RealJenkinsExtension.StepWithReturnAndTwoArgs.run(JenkinsRule r, A1 arg1, A2 arg2) voidRealJenkinsExtension.StepWithThreeArgs.run(JenkinsRule r, A1 arg1, A2 arg2, A3 arg3) voidRealJenkinsExtension.StepWithTwoArgs.run(JenkinsRule r, A1 arg1, A2 arg2) voidInboundAgentExtension.start(JenkinsRule r, String name) (Re-)starts an existing inbound agent.voidInboundAgentExtension.start(JenkinsRule r, InboundAgentExtension.Options options) (Re-)starts an existing inbound agent.voidInboundAgentExtension.stop(JenkinsRule r, String name) Stop an existing inbound agent and wait for it to go offline. -
Uses of JenkinsRule in org.jvnet.hudson.test.recipes
Methods in org.jvnet.hudson.test.recipes with parameters of type JenkinsRuleModifier and TypeMethodDescriptionvoidWithPlugin.RuleRunnerImpl.decorateHome(JenkinsRule jenkinsRule, File home) voidWithPluginManager.RuleRunnerImpl.decorateHome(JenkinsRule jenkinsRule, File home) voidLocalData.RuleRunnerImpl.setup(JenkinsRule jenkinsRule, LocalData recipe) voidPresetData.RuleRunnerImpl.setup(JenkinsRule jenkinsRule, PresetData recipe) voidWithPlugin.RuleRunnerImpl.setup(JenkinsRule jenkinsRule, WithPlugin recipe) voidWithPluginManager.RuleRunnerImpl.setup(JenkinsRule jenkinsRule, WithPluginManager recipe)
RealJenkinsRule