maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching (JIRA)" <>
Subject [jira] Commented: (MRM-453) Create missing tests for repository purge
Date Sun, 26 Aug 2007 09:44:11 GMT


Maria Odea Ching commented on MRM-453:

Initial commit -r569789:
- Added tests for RepositoryConsumer and CleanupReleasedSnapshotsRepositoryPurge
- Added test data for the new tests
- Refactored AbstractRepositoryPurgeTest, DaysOldRepositoryPurgeTest and RetentionCountRepositoryPurgeTest

To follow:
- days old test (metadata-driven snapshots)

> Create missing tests for repository purge
> -----------------------------------------
>                 Key: MRM-453
>                 URL:
>             Project: Archiva
>          Issue Type: Improvement
>    Affects Versions: 1.0-beta-1
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>             Fix For: 1.0-beta-2
> Comments from MRM-294:
> A general thought here too, for later: it might be worth reviewing the exceptions that
can occur in *Purge and see if we can recover better from each rather than bubbling it
> Tests:
>     * I think you can remove many of the components from the test XML files where the
default suffice (just keep the registry and jdo factory)
>     * the tests have a lot of bolierplate that can probably be turned into methods that
generate test data
> Missing tests:
>     * no tests for the consumer or the Released Snapshots purge
>     * days old test is only testing by file age - it should also test the metadata-driven
> A general thought for Archiva in the long term, too... setting up the database to test
this was probably a pain. We should have stub implementations of the indexer and dao's to
avoid it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message