That is currently being used. The target to copy jar resources into the
classpath is being called  before the tests run.  I was considering stuff in
<jarResoruces/> 'production' resources.  We may want to have some resources
in the classpath for testing only, but that don't go into the final jar.
Turbine 3's iutests have this situation currently.

=================================================================
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 1:07 PM
> To: Turbine Maven Developers List
> Subject: Re: Using the classpath for setting up test fixtures.
> 
> 
> Jeff,
> 
> what about jarResources? It's already there....
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> 
> 
> 
> "Brekke, Jeff" <[EMAIL PROTECTED]>
> 05/12/02 03:38 AM
> Please respond to "Turbine Maven Developers List"
> 
>  
>         To:     "'[EMAIL PROTECTED]'" 
> <[EMAIL PROTECTED]>
>         cc: 
>         Subject:        Using the classpath for setting up 
> test fixtures.
> 
> 
> 
> I have a question about the next step in testing 
> functionality for maven.
> Some unit tests are using the classpath loader for setting up test 
> fixtures.
> We need some way to have a directory in the classpath when 
> the tests are
> run.  I've thought about just 'hard coding' a conf directory under the
> testing source dirs (src/test and src/iutest) and shoving that in the
> classpath when the tests are run.  Then developers can decide 
> to add this
> directory with configuration files when/if they need to.  
> This is a little
> more tricky with a cactus test since the required config 
> files really need
> to be added to the classes directory in the testing war.  We 
> could just 
> add
> another <classes/> tag in the war task which points to src/iutest/conf
> maybe.
> 
> Opinions?
> 
> =================================================================
> Jeffrey D. Brekke                                   Quad/Graphics
> [EMAIL PROTECTED]                              http://www.qg.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to