@ContextConfiguration(classes=CitrusSpringUnitTestConfig.class) public abstract class AbstractTestNGUnitTest extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
| Modifier and Type | Field and Description |
|---|---|
protected TestContext |
context
Test context
|
protected TestContextFactory |
testContextFactory
Factory bean for test context
|
| Constructor and Description |
|---|
AbstractTestNGUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
protected TestContext |
createTestContext()
Creates the test context with global variables and function registry.
|
void |
prepareTest()
Setup test execution.
|
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceprotected TestContext context
@Autowired protected TestContextFactory testContextFactory
public void prepareTest()
protected TestContext createTestContext()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.