tarjei wrote:

> Hi, I got a test that needs to read a file in src/test/resources. How
> should I write the test to get the information about the relative path
> to that file, either using TestNG or just plain Junit?

I got unpredictable results when using test-resources and maven: eclipse
(junit plugin) and mvn test both ran successfully the test but mvn install
or mvn tomcat:deploy failed.

Avoid test-resources if possible.

Jan


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

Reply via email to