How to add spring application context to java runtime for use in integration tests in eclipse?

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

+2


a source to share


2 answers


Nothing, I solved it. I just had to add the folder containing my test application context as the source folder, and VOILA! I'm sure there are better ways to do this.



+1


a source


Spring provides some tools that can help with this type of testing. See Spring TestContext Framework .



+1


a source







All Articles