Class JenkinsAcceptanceTestRule
java.lang.Object
org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule
- All Implemented Interfaces:
org.junit.rules.MethodRule
Runs Guice container that houses
JenkinsController
, 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
-
Method Summary
-
Constructor Details
-
JenkinsAcceptanceTestRule
public JenkinsAcceptanceTestRule()
-
-
Method Details
-
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
-