Class JenkinsAcceptanceTestRule
- java.lang.Object
-
- org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule
-
- All Implemented Interfaces:
org.junit.rules.MethodRule
public class JenkinsAcceptanceTestRule extends Object implements org.junit.rules.MethodRule
Runs Guice container that housesJenkinsController
,WebDriver
, and so on.Add this rule to your Unit test class if you want to leverage this harness.
This is the glue that connects JUnit to the logic of the test harness.
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description JenkinsAcceptanceTestRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
- Specified by:
apply
in interfaceorg.junit.rules.MethodRule
-
-