@ContextConfiguration(classes=CitrusSpringConfig.class) public abstract class AbstractJUnit4CitrusTest extends org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
| Modifier and Type | Field and Description |
|---|---|
protected Citrus |
citrus
Citrus instance
|
protected org.slf4j.Logger |
log
Logger
|
| Constructor and Description |
|---|
AbstractJUnit4CitrusTest() |
| Modifier and Type | Method and Description |
|---|---|
protected TestLoader |
createTestLoader(String testName,
String packageName)
Creates new test loader which has TestNG test annotations set for test execution.
|
protected void |
executeTest()
Execute the test case.
|
protected TestCase |
getTestCase()
Constructs the test case to execute.
|
protected TestContext |
prepareTestContext(TestContext testContext)
Prepares the test context.
|
protected void |
run(CitrusJUnit4Runner.CitrusFrameworkMethod frameworkMethod)
Reads Citrus test annotation from framework method and executes test case.
|
protected final org.slf4j.Logger log
protected Citrus citrus
protected void run(CitrusJUnit4Runner.CitrusFrameworkMethod frameworkMethod)
frameworkMethod - protected void executeTest()
protected TestContext prepareTestContext(TestContext testContext)
testContext - the test context.protected TestLoader createTestLoader(String testName, String packageName)
testName - packageName - protected TestCase getTestCase()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.