river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Hobbs (JIRA)" <j...@apache.org>
Subject [jira] Updated: (RIVER-301) Move the tests into the JUnit framework inside the main source project
Date Tue, 17 Mar 2009 13:22:50 GMT

     [ https://issues.apache.org/jira/browse/RIVER-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tom Hobbs updated RIVER-301:

    Attachment: integrationtest.xml

This is the new file.

(Sorry, the "create patch" option seems to have fallen off my IDE and it was late when I tried
to get it done last night and that's why I've attached the actual file and not a patch).

I've moved it down a directory as well, so it's now at the same level as build.xml and build_common.xml.

When I run this script it successfully runs the tests but about half of them fail.  I don't
know if that's down to the code genuinely failing the tests or something to do with the script
or infrastructure as I've set it up.

I'm still missing the list of categories so that I can cut/paste the task on line 119 for
each one.  Can someone help me there please?

Also missing is installing the policy providers as described in the original tests README.
 They have to be done as root, but obviously you wouldn't want to run the whole thing root
and I haven't figured out how (or if) to do that in Ant.

I confess to being some what stuck on this until I get the list of categories and figure the
policy provider copy thing.

Any ideas?

> Move the tests into the JUnit framework inside the main source project
> ----------------------------------------------------------------------
>                 Key: RIVER-301
>                 URL: https://issues.apache.org/jira/browse/RIVER-301
>             Project: River
>          Issue Type: Task
>          Components: other
>    Affects Versions: AR3
>            Reporter: Tom Hobbs
>         Attachments: integrationtest.xml, RIVER-301.patch, RIVER-301.patch, River-301.patch.zip
>   Original Estimate: 672h
>  Remaining Estimate: 672h
> The tests donated by SUN live in their own source project and are runnable in a format
that is unfriendly towards IDEs and new developers to the River project.
> This is the proposal to move the test code, mostly unmodified, into the main source directory
whilst shoe-horning it into JUnit 3.  This will allow it to be easily viewable and runnable.
 Such a structure will also reduce the code-compile-test cycle since no JARs will have to
be created in the middle of the cycle and no long command-line incantations.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message