Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save artem-sh/4153960 to your computer and use it in GitHub Desktop.
Save artem-sh/4153960 to your computer and use it in GitHub Desktop.
Base class for all integration tests in the project
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationConfiguration.xml")
@Transactional
@TestExecutionListeners({
DependencyInjectionTestExecutionListener.class,
DirtiesContextTestExecutionListener.class,
TransactionDbUnitTestExecutionListener.class})
public class BaseIntegrationTest {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment