* Peter Donald <[EMAIL PROTECTED]> [2003-11-03 22:14]: > On Tue, 4 Nov 2003 08:59 am, Alain Javier Guarnieri del Gesu wrote:
> > What do you feel is the best place to create temporary files and > > directories for a unit test? > > > > Should I use a directory under target? > > > > Should I create a temp file using File.createTempFile()? > > > > The latter does not help if I want a temp directory. > > I generally put it under target/test-data. Heres the code I use in > quite a few of my unit tests to generate base directory for test > data. Thank you for the thoughts and the code. That's what I'll do then. -- Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]