Venisse [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 4:47 PM
To: Maven Users List
Subject: Re: Unittests and test data files in maven
Standard directory layout is defined there :
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
so
to the classpath.
Any help regarding this is appreciated.
-dh
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 4:47 PM
To: Maven Users List
Subject: Re: Unittests and test data files in maven
Standard directory layout is defined
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
Standard directory layout is defined there :
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
so, if you want to respect maven best practices, you'll put your test resources in
src/test/resources and subdirectories. This directiry can be configured