Class AbstractTestNGSpringIntegrationTest

java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
com.github.seregamorph.testsmartcontext.testng.AbstractTestNGSpringIntegrationTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.testng.IHookable, org.testng.ITestNGListener

@TestExecutionListeners(listeners=SmartDirtiesContextTestExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public abstract class AbstractTestNGSpringIntegrationTest extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
Base class for TestNG integration tests that create spring context. Supports SmartDirtiesContextTestExecutionListener semantics to optimize IT suite execution.
Author:
Sergey Chernov
See Also:
  • Field Summary

    Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    applicationContext, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractTestNGSpringIntegrationTest

      public AbstractTestNGSpringIntegrationTest()