Hello All,
I have some code that reads a directory in a maven2 project.  Is there a way
to put a directory of files in a maven project and reliably read it from
JUnit 4 (or TestNG) across platforms?  

I have code that will read the contents of a directory, looking for images. 
I'd like to include a directory of images in the project, perhaps in
test/resources/myImages.  I'd like to be able to get a java.io.File
reference to the directory.  

The code needs to run on my Windows workstation as well as my linux build
server.  Any ideas?

Thanks in Advance,
Steven
-- 
View this message in context: 
http://www.nabble.com/Unit-test-strategy-for-testing-a-java.io.File-in-maven2--tp14425100s177p14425100.html
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