Hello I am a Maven novice and have a question about Unit Test.
My Unit Test requires access to a file (for testing reading/parsing). Where should I put this file? how can it be transferred in the right place in target? (I have not found any equivalent to the <resources> tag for unit tests (I do not want the files to be added to the jar). Also how should I access it? I could "attach" it to the Test class and use the ResourceStream butthen the question is how to copy the xml file to the test-classes directories parser.parse(new InputSource(new FileInputStream("good-file.xml"))); I am sure that it must be trivial... but I have no idea. Any suggestion most welcomed! Kind regards Benoit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]