Hey,

using Maven 1.0.2 with multiproject, have about 8 sub projects. At the
moment each of the sub projects have their own unit tests and are totally
independent.

My question, does it make sense to break these unit tests out and into a 9th
project, a project only for unit tests and testing.

I see some pros and cons of this approach and looking for other peoples
thoughts/ideas.

Pros.
- All unit tests in one place, making it perhaps easier to find and add new
tests
- Can share resources (DB connections, XML files etc...)

Cons,
- Against convention  (?)
- Possible cause problems for maven or eclipse if each project has no unit
tests
- Refactoring / time needed to set this up.


A big problem is the amount of copying and pasting in the unit tests and I
want to reduce this some way.


Cheers,
Rob
-- 
View this message in context: 
http://www.nabble.com/Does-it-make-sense--tf2415263.html#a6732529
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to