Package org.jenkinsci.test.acceptance.junit
Glue to write acceptance tests in JUnit.
-
Interface Summary Interface Description DockerTest Marker interface to identify a Docker test.SmokeTest Marker interface to identify a smoke test. -
Class Summary Class Description AbstractJUnitTest Convenience base class to derive your plain-old JUnit tests from.DiagnosticRule FailureDiagnostics Attach diagnostic file related to a test failure.FilterRule Test rule to filter tests to run.FilterRule.Filter JenkinsAcceptanceTestRule Runs Guice container that housesJenkinsController
,WebDriver
, and so on.JUnitProgressReporter Reports failures immediately.Native.RuleImpl PropertyBindingModule Bind system properties so those can be used for@Named
injection.Resource Wraps a resource found byClass.getResource(String)
.Since.RuleImpl TestActivation.RuleImpl Wait<Subject> ATH specific wait object.Wait.Predicate<Return> WithCredentials.RuleImpl WithDocker.RuleImpl WithInstallWizard.RuleImpl WithJavaOptions.RuleImpl WithOS.RuleImpl WithPlugins.RuleImpl -
Enum Summary Enum Description WithOS.OS -
Exception Summary Exception Description RuleFailedException This is a service exception that wraps the TestRule failure to all traceability back to failing test rules. -
Annotation Types Summary Annotation Type Description GlobalRule TestRule
to be applied on all tests globally.Native Deprecated. Refactor to use containers for any kind of expected setupRuleAnnotation Meta-annotation for annotations that introduces aTestRule
for test.Since Minimal Jenkins version required to run the test.TestActivation Declare there is a property that needs to be provided to run the test.WithCredentials Indicates that a test requires credentials.WithDocker Indicates the docker is necessary to run the test.WithInstallWizard Enables the install wizard to run the test.WithJavaOptions Indicates that the test and Jenkins instance will run with the specified java options.WithOS Indicates that the test and Jenkins instance must be running on one of the operating systems provided.WithPlugins Indicates that a test requires the presence of the specified plugins.