Reputation: 399
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.
Upvotes: 2
Views: 592
Reputation: 41127
Spring supplies some tools that can help with such testing. See Spring TestContext Framework.
Upvotes: 1
Reputation: 399
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.
Upvotes: 1