开发者

How to add a spring application context to the java runtime to be used for integration tests within eclipse?

开发者 https://www.devze.com 2022-12-27 04:36 出处:网络
I am tryin开发者_StackOverflow社区g to add a test spring application context to the java runtime, so that my beans can be wired properly for my integration tests.Never mind, I solved it. I just had to

I am tryin开发者_StackOverflow社区g to add a test spring application context to the java runtime, so that my beans can be wired properly for my integration tests.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消