In a Spring Roo project the tests fail but only when initiated from Infinitest running in Springsource Tool Suite 2.8.0 (STS). As Infinitest 5.1.93 fails to load the Spring context file all tests fail. When I run the same tests myself inside STS they all go green.
I reconfirmed that nothing else was wrong in this project by importing the project to the previous STS 2.7.x instead. Infinitest run the tests green under STS 2.7.x as expected.
Is Infinitest 5.1.93 currently not compatible with Eclipse Indigo and Springsource Tool Suite?
I currently use jdk1.5.
P.S. I initially wrote "Eclipse Juno" so corrected the question to Indigo. See comments below. D.S.
You can solve that problem not using the classpath: for the resource loading but the file: mechanism:
@ContextConfiguration({ "file:src/test/resources/context.xml" })
@RunWith(SpringJUnit4ClassRunner.class)