PDA

View Full Version : Spring DM JUNIT Testing without Maven


janblankenhorn
Apr 28th, 2008, 09:30 AM
I've done a lot of reading so far but i just wann be like 100% sure.

Can I use the Spring DM Junit Testing facilities only together with maven, or at least with all bundles and needed jars in the local maven repository?


Kind regards

janblankenhorn
Apr 30th, 2008, 07:55 AM
let me state the question a little bit different,

when i ovveride the method:

protected String[] getTestBundlesNames()
...


can i also somehow add bundles from my workspace to the list of to be installed bundles?

Costin Leau
May 3rd, 2008, 05:41 AM
Yes you can. The test suite allows custom ArtifactLocators to be used which can use different strategies when resolving the names to resources. Additionally, you can override getTestBundles() directly and return Spring Resources rather then bundle names.