views:

92

answers:

2

I am trying to add a test spring application context to the java runtime, so that my beans can be wired properly for my integration tests.

+1  A: 

Never mind, I solved it. I just had to add the folder containing my test application context as a source folder, and VOILA! I am pretty sure there are better ways to do it.

+1  A: 

Spring supplies some tools that can help with such testing. See Spring TestContext Framework.

Don Roby