cancel
Showing results for 
Search instead for 
Did you mean: 

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

Nelson_Silva
Confirmed Champ
Confirmed Champ

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?

1 ACCEPTED ANSWER

Julien_Carsique
Elite Collaborator
Elite Collaborator

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.

View answer in original post

1 REPLY 1

Julien_Carsique
Elite Collaborator
Elite Collaborator

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.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.