Modifier and Type | Class and Description |
---|---|
class |
TestCase
Test case executing a list of
TestAction in sequence. |
class |
TestCaseSimulation |
Modifier and Type | Method and Description |
---|---|
TestAction |
TestAction.setDescription(String description)
Description setter.
|
TestAction |
TestAction.setName(String name)
Name of test action injected as Spring bean name
|
Modifier and Type | Method and Description |
---|---|
List<TestAction> |
TestCase.getFinalActions()
Get all actions in the finally chain.
|
Modifier and Type | Method and Description |
---|---|
void |
TestCase.addFinalAction(TestAction testAction)
Adds action to finally action chain.
|
void |
TestCaseSimulation.executeAction(TestAction action,
TestContext context) |
void |
TestCase.executeAction(TestAction action,
TestContext context)
Executes a single test action with given test context.
|
void |
Citrus.run(TestAction action)
Runs a test action which can also be a whole test case.
|
void |
Citrus.run(TestAction action,
TestContext testContext)
Runs test action with given test context.
|
Modifier and Type | Method and Description |
---|---|
void |
TestCase.setFinalActions(List<TestAction> finalActions)
Setter for finally chain.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabaseConnectingTestAction
Abstract base class for database connection test actions.
|
class |
AbstractTestAction
Abstract base class for test acions.
|
class |
AntRunAction
Action calls Apache ANT with given build file and runs ANT targets
as separate build.
|
class |
CreateVariablesAction
Action creating new test variables during a test.
|
class |
EchoAction
Prints messages to the console/logger during test execution.
|
class |
ExecutePLSQLAction
Class executes PLSQL statements either declared inline as PLSQL statements or given by an
external file resource.
|
class |
ExecuteSQLAction
Test action execute SQL statements.
|
class |
ExecuteSQLQueryAction
Action executes SQL queries and offers result set validation.
|
class |
FailAction
Action fails the test explicitly.
|
class |
InputAction
Test action prompts user data from standard input stream.
|
class |
JavaAction
Action to enable class invocation through java reflection
|
class |
LoadPropertiesAction
Action reads property files and creates test variables for every property entry.
|
class |
PurgeEndpointAction
Action purges all messages from a message endpoint.
|
class |
PurgeMessageChannelAction
Action purges all messages from a message channel instance.
|
class |
ReceiveMessageAction
This action receives messages from a service destination.
|
class |
ReceiveTimeoutAction
Action expecting a timeout on a message destination, this means that no message
should arrive on the destination.
|
class |
SendMessageAction
This action sends a messages to a specified message endpoint.
|
class |
SleepAction
Stop the test execution for a given amount of time.
|
class |
StartServerAction
Action starting a
Server instance. |
class |
StopServerAction
Action stopping
Server instances. |
class |
StopTimeAction
Action used for time measurement during test.
|
class |
StopTimerAction |
class |
TraceVariablesAction
Action that prints variable values to the console/logger.
|
class |
TransformAction
Action transforms a XML document(specified inline or from external file resource)
with a XSLT document(specified inline or from external file resource)
and puts the result in the specified variable.
|
class |
WaitAction
Pause the test execution until the condition is met or the wait time has been exceeded.
|
Modifier and Type | Method and Description |
---|---|
void |
TestCaseFactory.setFinalActions(List<TestAction> finalActions)
Setter for final test actions.
|
void |
TestCaseFactory.setTestActions(List<TestAction> testActions)
Set the test actions.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestActionContainer
Container interface describing all test action containers that hold several embedded test actions
to execute.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActionContainer
Abstract base class for all containers holding several embedded test actions.
|
class |
AbstractIteratingActionContainer |
class |
AbstractSuiteActionContainer
Abstract suit container actions executed before and after test suite run.
|
class |
AbstractTestBoundaryActionContainer
Abstract test action container describes methods to enable/disable container execution based on given test name, package
and test groups.
|
class |
Assert
Assert exception to happen in nested test action.
|
class |
Catch
Action catches possible exceptions in nested test actions.
|
class |
Conditional
Class executes nested test actions if condition expression evaluates to true.
|
class |
Iterate
Class executes nested test actions in loops.
|
class |
Parallel
Test action will execute nested actions in parallel.
|
class |
RepeatOnErrorUntilTrue
Looping test container iterating the nested test actions in case an error occurred in one
of them.
|
class |
RepeatUntilTrue
Typical implementation of repeat iteration loop.
|
class |
Sequence
Sequence container executing a set of nested test actions in simple sequence.
|
class |
SequenceAfterSuite
Sequence of Citrus test actions that get executed after a test suite run.
|
class |
SequenceAfterTest
Sequence of test actions executed after a test case.
|
class |
SequenceBeforeSuite
Sequence of Citrus test actions that get executed before a test suite run.
|
class |
SequenceBeforeTest
Sequence of test actions executed before a test case.
|
class |
Template
This class represents a previously defined block of test actions.
|
class |
Timer |
Modifier and Type | Field and Description |
---|---|
protected List<TestAction> |
AbstractActionContainer.actions
List of nested actions
|
Modifier and Type | Method and Description |
---|---|
TestAction |
Assert.getAction()
Gets the action.
|
TestAction |
TestActionContainer.getLastExecutedAction()
Get the action that was executed most recently.
|
TestAction |
AbstractActionContainer.getLastExecutedAction() |
TestAction |
TestActionContainer.getTestAction(int index)
Get the test action with given index in list.
|
TestAction |
Assert.getTestAction(int index) |
TestAction |
AbstractActionContainer.getTestAction(int index) |
Modifier and Type | Method and Description |
---|---|
List<TestAction> |
TestActionContainer.getActions()
Get the embedded test actions within this container.
|
List<TestAction> |
Template.getActions()
Gets the actions.
|
List<TestAction> |
AbstractActionContainer.getActions() |
Modifier and Type | Method and Description |
---|---|
TestActionContainer |
TestActionContainer.addTestAction(TestAction action)
Adds a test action to the nested action list.
|
Assert |
Assert.addTestAction(TestAction action) |
AbstractActionContainer |
AbstractActionContainer.addTestAction(TestAction action) |
int |
TestActionContainer.getActionIndex(TestAction action)
Returns the index in the action chain for provided action instance.
|
int |
AbstractActionContainer.getActionIndex(TestAction action) |
void |
Assert.setAction(TestAction action)
Set the nested test action.
|
void |
TestActionContainer.setLastExecutedAction(TestAction action)
Sets the last executed action.
|
void |
AbstractActionContainer.setLastExecutedAction(TestAction action) |
Modifier and Type | Method and Description |
---|---|
TestActionContainer |
TestActionContainer.setActions(List<TestAction> actions)
Sets the embedded test actions to execute within this container.
|
void |
Template.setActions(List<TestAction> actions)
Set nested test actions.
|
Assert |
Assert.setActions(List<TestAction> actions) |
AbstractActionContainer |
AbstractActionContainer.setActions(List<TestAction> actions) |
Modifier and Type | Method and Description |
---|---|
String |
MessageStore.constructMessageName(TestAction action,
Endpoint endpoint) |
String |
DefaultMessageStore.constructMessageName(TestAction action,
Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
void |
TestActionListeners.onTestActionFinish(TestCase testCase,
TestAction testAction) |
void |
TestActionListener.onTestActionFinish(TestCase testCase,
TestAction testAction)
Invoked when test gets finished
|
void |
LoggingReporter.onTestActionFinish(TestCase testCase,
TestAction testAction) |
void |
AbstractTestActionListener.onTestActionFinish(TestCase testCase,
TestAction testAction) |
void |
TestActionListeners.onTestActionSkipped(TestCase testCase,
TestAction testAction) |
void |
TestActionListener.onTestActionSkipped(TestCase testCase,
TestAction testAction)
Invoked when test is skipped
|
void |
LoggingReporter.onTestActionSkipped(TestCase testCase,
TestAction testAction) |
void |
AbstractTestActionListener.onTestActionSkipped(TestCase testCase,
TestAction testAction) |
void |
TestActionListeners.onTestActionStart(TestCase testCase,
TestAction testAction) |
void |
TestActionListener.onTestActionStart(TestCase testCase,
TestAction testAction)
Invoked when test gets started
|
void |
LoggingReporter.onTestActionStart(TestCase testCase,
TestAction testAction) |
void |
AbstractTestActionListener.onTestActionStart(TestCase testCase,
TestAction testAction) |
Modifier and Type | Class and Description |
---|---|
class |
GroovyAction
Action executes groovy scripts either specified inline or from external file resource.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActionParserTest<T extends TestAction>
Abstract base testng test for Citrus bean definition parser unit testing.
|
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.