On Oct 23, 8:06 am, jsoftware...@gmail.com wrote:
> If I am creating JUnit tests that have test input files, are there any
> best practices for where input test files should go?
>
> Right now I am placing them in the same Java package that the test
> class resides in.
You could name the package to indicate that it contains test sources.
If the main comtree is com.xyz.services, the corresponding test
package could be something like com.xyz.services.test. I personally
prefer Maven, as it provides a placeholder for junits, as well as
ensures that the build process includes running junits (you can always
override this though!), and does not include test classes in the
release/target jars.
-cheers,
Manish