In Maven what is the best practice of referencing test files for use in
unit tests?  

Prior to using Maven, we will typically load test files with code like
this in our test classes "./TestData/Parameters/Reflectance.xml".  This
doesn't work in Maven as the current directory is different.  Maven
seems to want the files in the \test\resources\ folder but this gets
copied to the target folder.

What is the best practice given that both Maven and the IDE (in our case
IntelliJ) have to be able to run the tests?

-dh

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

Reply via email to