db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2006) Add JUnit and JUnitReport task as a target in Ant script
Date Wed, 01 Nov 2006 01:13:17 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2006?page=comments#action_12446136 ] 
Andrew McIntyre commented on DERBY-2006:

Thanks, Dan. Compiling _Suite with target=1.4 would only work if the rest of the jdbc4 classes
have been built. Somone running a build without JDK 1.4 won't have those other classes available,
so making _Suite work there would require getting every test class by reflection.

Much cleaner, I think, to just mimic that little bit of logic to skip the jdbc4 suite if jdk16
is not available than to go to those lengths to get _Suite working. I'll put together a patch
that works that way shortly.

One last thing, I noticed the nist tests don't have a _Suite, although it does only have one
junit test in the package. But, NistScripts hasn't been added to AllPackages. Should it be
added to AllPackages, and should I add NistScripts to the list for Ant to run?

> Add JUnit and JUnitReport task as a target in Ant script
> --------------------------------------------------------
>                 Key: DERBY-2006
>                 URL: http://issues.apache.org/jira/browse/DERBY-2006
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>         Environment: Any
>            Reporter: Yip Ng
>         Attachments: derby_2006_v1.diff, derby_2006_v2.diff, derby_2006_v3.diff, example_output.zip
> Ant has an optional tasks called JUnit and JUnitReport that runs JUnit tests and produces
JUnit report respectively.  It will be nice to have these mechanism incorporated into the
Ant script so one can easily kick off a JUnit test and view the result. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message