Hello, 

I have run into this problem a few times.  I'll start by developing 
a module for some functionality.  Along the road I'll discover that 
I need to re-factor into two or three modules, which either extend 
the base functionality of the first or implement some interfaces using 
a different backend.   What might be ideal is to define test cases for 
the interface in the base project, and then to instantiate those tests 
cases in the sibling projects for specific backend implementations. 

For example, the "foo" project defines IFoo.  Then I have another project 
that implements the IFoo interface for Oracle, HSQL, MySQL, a network 
database, etc.  I would like to be able to reuse the tests for the 
interface in each of these projects, while adding tests that are specific 
to the backend implementations as well. 

My problem is that the test cases that I've developed are not being 
made into artifacts and they are not available for use on those other 
modules.  So far I've tried breaking out the tests into their own 
module and I'm now wondering if it is viable to modify the declarations 
in project.xml so as to explicitly bring in the test classes from a 
sibling project. 

I am curious how other people have dealt with this. 

Thanks, 

-bryan 

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

Reply via email to