问题描述:

I am writing a Grails plugin for my project which uses a another grails plugin, written by another group in the organization. I want to unit test my grails plugin code, but it uses the this other plugin, and when I unit test, my code fails because the other plugin is not loaded.

How do I load this other plugin before my unit tests are run?

网友答案:

I realised that I could get the same done with integration tests. So wrote integration test instead of unit tests.

相关阅读:
Top