I have a web application using:
Spring 2.0
Hibernate 3
And
JUnit 3
Some of the existing
Unit tests extend the Spring helper class
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests to assit.
I want to update to JUnit 4, Its pretty simple to update most basic test classes, but when I try to update the ones which extend
AbstractTransactionalDataSourceSpringContextTests I get the exception:
I don't see why this should be a problem so long as I called the
setUp() and
tearDown() methods from my annotated
@Before and
@After methods to complete the configuration of the parent class.
Can anyone tell me why this might be happening, or if I'm barking up the wrong tree in trying to update to JUnit 4 without relevent support being added to the class I am trying to extend.
Thank you