A good documentation would be really great to have. Ability for testing own 
module implementations would help a lot for bringing some better stability 
to the code. For this I tried extending the RepositoryTestCase.

Currently I ran into problems with the tests using the magnolia core 
test-jar, referencing it as test-dependency works for mocking in the IDE. As 
soon running the tests from the Maven command-line, it doesn't find any 
module descriptors and fails. Most likely some class-loader issues while 
searching the /META-INF/magnolia/ folders in the referenced jars.

Maybe this won't work with the current thread-classloader while executing 
tests?
-> 
info.magnolia.module.model.reader.BetwixtModuleDefinitionReader.findModuleDescriptors()
-> info.magnolia.cms.util.ClasspathResourcesUtil.getCurrentClassLoader()

Any hints about this are very much appreciated.

Marco

-- 
15 Years of Excellence: http://nca.me/15

Marco Glur | [email protected] | +41 44 247 79 20 |
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com |



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to