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 Feb 2009 13:21:02 GMT

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

Tom Hobbs updated RIVER-301:

    Attachment: River-301.patch.zip

As requested, here's a patch of work-to-date.  All that has happened is;

1) The directory "integrationtests" has been created at the same level as he River source
2) The QA Test directories have been copied into this "integrationtests" dir.
3) A new ant build XML has been created; integrationtests/integrationtest.xml

The new XML file can clean the qa test directories and attempts to compile and JAR up the
test code.

Currently it's failing on some compiler errors which I haven had the time (or, unfortunately,
the health) to take a look at properly.

When those errors have been fixed I hope it's just a case of transposing the command line
incantation detailed in qatestsREADME.txt to run the tests (once all the correct paths are
established and set up).

I haven't worked out a way to have Ant install the merged policy provider for the tests or
install the policy provider for the River distribution.

> 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: 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