JacquesLeRoux commented on PR #916: URL: https://github.com/apache/ofbiz-framework/pull/916#issuecomment-3636143295
Hi Gaetan, > > it seems to me that as soon as dispatcher or delegator is used the test should be considered an integration one > > I agree with this. I tried to us SimpleTests.groovy as it was, a JUNIT simple test. It turned out to be impossible because of dispatcher that ultimately needs dispatcherFactory which is only assigned in ServiceContainer::init. Else SimpleTests::testTrue and SimpleTests::testDelegator worked. So I converted SimpleTests.groovy to be an integration test. I have slightly modified the comments about that in build.gradle and will do the same in [developer-manual.adoc](https://nightlies.apache.org/ofbiz/trunk/ofbiz/developer-manual.html#_components) where the OFBiz components main directory structure is documented. I continue on the rest... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
