For example, you have an automate which computing automatically files in a specific directory. Firstly, these kind of files can not put in resources. But they are included in your test scenarios. Secondly, in case of an integration test, the application should be launch as real condition. So in the configuration file, the base directory of the application is specified as relative from the working directory.
Project -o src -o main -o java -o resources -o test -o java -o resources -o environment -o a_traiter -o traite -o error -o target -o environment [test running directory, copied from test/environment] -o a_traiter -o traite -o error build/directory is the directory where all files generated by the build are placed. On solution would be specified in the test configuration resource to used specified directories with relative path. I am wondering if it is possible to specify in the pom's file the running directory for tests. > -----Original Message----- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: woensdag 3 mei 2006 19:07 > To: Maven Users List > Subject: Re: [M2] Setting path of test running directory > > > What's the use case, that is, why do you need to set the path for > testing? If you need certain files etc to be in the directory, they > should be added as resources. > > Having said that, perhaps this includes what you're looking for? > > <build> > <directory>${basedir}</directory> > <outputDirectory>classes</outputDirectory> > <testOutputDirectory>test-classes</testOutputDirectory> > > Wayne > > On 5/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am wondering if it is possible to set the path of running > directory for > > testing. > > In the Maven project descriptor, there is nothing relevant > to my issue. > > > > Does someone meet this issue ? > > > > thanks, > > Andre ------------------------------------------------------------------------------------------------------------ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
