| Package | Description |
|---|---|
| org.testifyproject |
A package that contains Annotations, SPI contract classes, and traits.
|
| org.testifyproject.extension |
| Modifier and Type | Method and Description |
|---|---|
TestContext |
TestContext.addError(Boolean condition,
String messageFormat,
Object... args)
Add an error message to the test context if the given condition is true.
|
TestContext |
TestContext.addError(String messageFormat,
Object... args)
Add an error message to the test context.
|
TestContext |
TestContext.addWarning(Boolean condition,
String messageFormat,
Object... args)
Add an warning message to the test context if the given condition is true.
|
TestContext |
TestContext.addWarning(String messageFormat,
Object... args)
Add an warning message to the test context.
|
TestContext |
ApplicationInstance.getTestContext()
Get the test context associated with the application.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ServerProvider.configure(TestContext testContext)
Configure the server using the given test context.
|
T |
ClientProvider.configure(TestContext testContext,
Application application,
URI baseURI)
Configure the client using the given server instance.
|
T |
LocalResourceProvider.configure(TestContext testContext,
LocalResource localResource,
PropertiesReader configReader)
A method to configure a local resource.
|
T |
RemoteResourceProvider.configure(TestContext testContext,
RemoteResource remoteResource,
PropertiesReader configReader)
A method to configure a remote resource.
|
ServiceInstance |
ServiceProvider.configure(TestContext testContext,
T serviceContext)
Configure a service instance using the given test context and service context.
|
<T> T |
TestConfigurer.configure(TestContext testContext,
T configuration)
Given a configuration object call the appropriate method on the test class annotated with
ConfigHandler annotation. |
T |
VirtualResourceProvider.configure(TestContext testContext,
VirtualResource virtualResource,
PropertiesReader configReader)
A method to configure a virtual resource.
|
T |
ServiceProvider.create(TestContext testContext)
Create and configure a dependency injection object using the given test context (i.e
Guice Injector, HK2 ServiceLocator, etc).
|
ClientInstance<C,P> |
ClientProvider.create(TestContext testContext,
Application application,
URI baseURI,
T configuration)
Create and initialize the client instance using the given base URI and configuration
object.
|
void |
ServiceInterceptor.intercept(TestContext testContext)
Create a service interceptor with the given test context.
|
default void |
LocalResourceProvider.load(TestContext testContext,
LocalResource localResource,
LocalResourceInstance<R,C> instance,
Set<String> dataFiles)
Load the given list of data file into the local resource prior to the resource being
used.
|
default void |
RemoteResourceProvider.load(TestContext testContext,
RemoteResource remoteResource,
RemoteResourceInstance<C> instance,
Set<String> dataFiles)
Load the given list of data file into the local resource prior to the resource being
used.
|
void |
DataProvider.load(TestContext testContext,
Set<String> dataFiles,
T instance)
Load the given data files into the given resource instance.
|
default void |
VirtualResourceProvider.load(TestContext testContext,
VirtualResource virtualResource,
VirtualResourceInstance instance,
Set<String> dataFiles)
Load the given list of data file into the local resource prior to the resource being
used.
|
default void |
ServiceProvider.postConfigure(TestContext testContext,
ServiceInstance serviceInstance)
Initialize a service instance using the given test context and service context.
|
ApplicationInstance |
ApplicationProvider.start(TestContext testContext)
Start the application using the given test context.
|
void |
ResourceController.start(TestContext testContext)
Start the test resources.
|
void |
ResourceProvider.start(TestContext testContext)
Start all the resources using the given test context and service instance.
|
void |
TestRunner.start(TestContext testContext)
Start the test.
|
ServerInstance<S> |
ServerProvider.start(TestContext testContext,
Application application,
T configuration)
Start the server using the given configuration object.
|
LocalResourceInstance<R,C> |
LocalResourceProvider.start(TestContext testContext,
LocalResource localResource,
T config)
Start the local resource with the given testContext and configuration.
|
RemoteResourceInstance<C> |
RemoteResourceProvider.start(TestContext testContext,
RemoteResource remoteResource,
T config)
Start the remote resource with the given testContext and configuration.
|
VirtualResourceInstance |
VirtualResourceProvider.start(TestContext testContext,
VirtualResource virtualResource,
T configuration)
Start the virtual resource with the given testContext and configuration.
|
void |
ResourceController.stop(TestContext testContext)
Stop the test resources.
|
void |
ResourceProvider.stop(TestContext testContext)
Stop all the resources.
|
void |
TestRunner.stop(TestContext testContext)
Stop the test.
|
void |
LocalResourceProvider.stop(TestContext testContext,
LocalResource localResource,
LocalResourceInstance<R,C> instance)
Stop the local resource.
|
void |
RemoteResourceProvider.stop(TestContext testContext,
RemoteResource remoteResource,
RemoteResourceInstance<C> instance)
Stop the remote resource.
|
void |
VirtualResourceProvider.stop(TestContext testContext,
VirtualResource virtualResource,
VirtualResourceInstance instance)
Stop the virtual resource.
|
| Modifier and Type | Method and Description |
|---|---|
List<Instance> |
ProxyInstanceController.create(TestContext testContext)
Create dynamic proxies and return instances of them as a list.
|
List<Instance> |
InstanceProvider.get(TestContext testContext)
Provide one or more instances.
|
List<ProxyInstance> |
ProxyInstanceProvider.get(TestContext testContext)
Provide one or more instances.
|
void |
CollaboratorReifier.reify(TestContext testContext)
Reify the test class using the given test context.
|
void |
FinalReifier.reify(TestContext testContext)
Reify the test class using the given test context.
|
void |
InitialReifier.reify(TestContext testContext)
Reify the test class using the given test context.
|
void |
SutReifier.reify(TestContext testContext)
Reify the test class using the given test context.
|
void |
PostVerifier.verify(TestContext testContext)
Verify the test class using the given test context.
|
void |
PreVerifier.verify(TestContext testContext)
Verify the test class using the given test context.
|
void |
Verifier.verify(TestContext testContext)
Verify the test class using the given test context.
|
Copyright © 2016–2018 Testify Project. All rights reserved.