The Maven web site lists "Keeping your test source code in a separate, but
parallel source tree" as best practices.

Q1: Why is this a best practice? It just seems like an extra thing to
maintain to me, making package name refactoring for troublesome. I've been
placing my test class next to the tested class.

smartsoft.util.Date
smartsoft.util.DateTest

By naming them this way, they appear next to each other in dir listings.

Q2: If I want to continue my practice of keeping them together, is there any
way to get Maven to support that?

Thanks


Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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

Reply via email to