Shouldn't be hard to add those tests to the Surefire plugin configuration. Can 
you please create a Jira issue (as a reminder ... ;-)) asking me to do this, 
and I'll take care of this ? 

Werner Guttmann
PS For this to work, I will actually have to move some of those 'regression 
tests' out of src/bugs and into the the CTF test suite.

> -----Ursprüngliche Nachricht-----
> Von: Johan Lindquist [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 02. April 2007 11:47
> An: [email protected]
> Betreff: Re: AW: AW: [castor-user] How to run bug template unit test
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Werner,
> 
> I ran into the same problem when I was creating the patch for hexBinary
> (thanks for applying it btw).
> 
> Would be nice to have the Maven build run all unit tests without much
> special configuration.  Any way it can be added as part of the normal
> surefire run?
> 
> Cheers,
> 
> Johan
> 
> Werner Guttmann wrote:
> > Well, you would not require much more ..... if we provided a Maven POM
> that does the rest. Let me think about this a but further ....
> >
> > Werner
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: Simon Lord [mailto:[EMAIL PROTECTED]
> >> Gesendet: Montag, 02. April 2007 11:38
> >> An: [email protected]
> >> Betreff: Re: AW: [castor-user] How to run bug template unit test
> >>
> >> That does sound cool, unfortunetly my Maven skills only go so far as
> >> 'mvn clean install' at the moment ;)
> >>
> >>
> >> Simon
> >>
> >> Werner Guttmann wrote:
> >>> 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
> >>>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
> 
> - --
> you too?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGENEa1Tv8wj7aQ34RAiiqAKCDM5zShsM6ZU1XN+obF015myrzIACcD+rU
> CPDBF3k/c/O8mE8aAxtoAeg=
> =dFg8
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> 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