How can I determine which bundles do deploy for my unit test?

When writing unit tests you have to explicitly choose which bundles to deploy whereas in Nuxeo you just have to specify immediate dependencies. So, is there an easy way to get a list of bundles needed to run any given test or it's just common sense and trial and error?

0 votes

1 answers

1216 views

ANSWER



It is mainly common sense, trial and error but the Maven dependency tree can give you a good hint. The file can be generated from a given module or you can look at the whole Nuxeo dependency tree: if you built a distribution, it's usually located in the target directory and named dependency-tree.log.

0 votes