Skip navigation links
A C E I N R S 

A

apply(Statement, Description) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
Wraps RunBeforeTestClassCallbacks and RunAfterTestClassCallbacks around the provided statement.
apply(Statement, FrameworkMethod, Object) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
Wraps RunBeforeTestMethodCallbacks and RunAfterTestMethodCallbacks around the provided statement.
apply(Statement, FrameworkMethod, Object) - Method in class net.thucydides.junit.spring.SpringIntegration
Deprecated.
 

C

createTest() - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
Prepares the test instance after creating the test instance.

E

evaluate() - Method in class net.thucydides.junit.spring.RunAfterTestMethodCallbacks
Invokes the next Statement in the execution chain (typically an instance org.junit.internal.runners.statements.RunAfters, catching any exceptions thrown, and then calls afterTestMethod(Object, Method) with the first caught exception (if any).
evaluate() - Method in class net.thucydides.junit.spring.RunBeforeTestMethodCallbacks
Calls TestContextManager.beforeTestMethod(Object, java.lang.reflect.Method) and then invokes the next Statement in the execution chain (typically an instance of org.junit.internal.runners.statements.RunBefores).

I

injectDependenciesInto(Object) - Method in class net.serenitybdd.core.di.SpringDependencyInjector
Setup Spring dependencies in a step library, based on the Spring ContextConfiguration annotation.

N

net.serenitybdd.core.di - package net.serenitybdd.core.di
 
net.serenitybdd.junit.spring.integration - package net.serenitybdd.junit.spring.integration
 
net.thucydides.junit.spring - package net.thucydides.junit.spring
 

R

reset() - Method in class net.serenitybdd.core.di.SpringDependencyInjector
 
RunAfterTestMethodCallbacks - Class in net.thucydides.junit.spring
RunAfterTestMethodCallbacks is a custom JUnit 4.5+ Statement which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by calling afterTestMethod()} on the supplied TestContextManager.
RunAfterTestMethodCallbacks(Statement, Object, Method, TestContextManager) - Constructor for class net.thucydides.junit.spring.RunAfterTestMethodCallbacks
Constructs a new RunAfterTestMethodCallbacks statement.
RunBeforeTestMethodCallbacks - Class in net.thucydides.junit.spring
RunBeforeTestMethodCallbacks is a custom JUnit 4.5+ Statement which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by calling beforeTestMethod() on the supplied TestContextManager.
RunBeforeTestMethodCallbacks(Statement, Object, Method, TestContextManager) - Constructor for class net.thucydides.junit.spring.RunBeforeTestMethodCallbacks
Constructs a new RunBeforeTestMethodCallbacks statement.

S

SpringDependencyInjector - Class in net.serenitybdd.core.di
 
SpringDependencyInjector() - Constructor for class net.serenitybdd.core.di.SpringDependencyInjector
 
SpringIntegration - Class in net.thucydides.junit.spring
Deprecated.
Replaced by SpringIntegrationMethodRule, which doesn't use the deprecated TestWatchman, and also works together with SpringIntegrationClassRule. However, the suggested replacements do not support Spring Framework 2.5, while this class retains support for Spring Framework 2.5.
SpringIntegration() - Constructor for class net.thucydides.junit.spring.SpringIntegration
Deprecated.
 
SpringIntegrationClassRule - Class in net.serenitybdd.junit.spring.integration
A TestRule to be used with @ClassRule to run the @BeforeClass and @AfterClass modifiers that are part of SpringJUnit4ClassRunner.
SpringIntegrationClassRule() - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
 
SpringIntegrationMethodRule - Class in net.serenitybdd.junit.spring.integration
A TestRule to be used with @Rule to run the @Before and @After modifiers that are part of SpringJUnit4ClassRunner.
SpringIntegrationMethodRule() - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
 
SpringIntegrationSerenityRunner - Class in net.serenitybdd.junit.spring.integration
A serenity runner that automatically adds rules SpringIntegrationMethodRule and SpringIntegrationClassRule.
SpringIntegrationSerenityRunner(Class<?>) - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
Create a Serenity runner for a particular class.
A C E I N R S 
Skip navigation links