Having said that, if you were to use Maven, it would be absolutely easy to 
provide e.g. a Maven project archetype that would create a Maven project with a 
POM that downloaded the Castor JARs automatically, incl. all (transitive) 
dependencies, etc., and created the minimal test classes as currently present 
in src/bugs/xml/test.template

Or even easier, provide a new download artifact as a JAR. That could e.g. 
include a main() method in the JUnit test case that (automagically) called 
JUnit's TestRunner to execute the test.

Werner

> -----Ursprüngliche Nachricht-----
> Von: Simon Lord [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 02. April 2007 10:44
> An: [email protected]
> Betreff: [castor-user] How to run bug template unit test
> 
> Morning all,
> 
> 
> each time i create an issue on Jira i create a test unit from the bugs
> template as advised from here:
> http://www.castor.org/how-to-submit-an-xml-bug.html
> 
> However, i can't find anywhere that tells you how to run it. At the
> moment i create two bug templates; one to zip and attach to my jira and
> one to where i add jars of castor,xceres etc and run the test myself
> from the command line adding the classpath to all the libs it'll need -
> it would be useful to know how the castor developers run the bug
> templates.
> 
> Could someone please let me know how to run it after dropping it into
> the correct place in the trunk source tree - or point me to
> documentation i may have missed that describes the process.
> 
> 
> 
> Thank you for your time
> 
> Simon Lord
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to