Re: Unittests and test data files in maven

2006-01-16 Thread Chris Berry
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

RE: Unittests and test data files in maven

2006-01-15 Thread Dave Hoffer
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

Unittests and test data files in maven

2006-01-14 Thread Dave Hoffer
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

Re: Unittests and test data files in maven

2006-01-14 Thread Emmanuel Venisse
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