You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/08/15 10:57:15 UTC
[jira] Updated: (DIRSERVER-1307) Inject LDIF files at the right
level when running tests
[ https://issues.apache.org/jira/browse/DIRSERVER-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1307:
-----------------------------------------
Fix Version/s: (was: 1.5.5)
2.0.0-RC1
Postponed to 2.0.0-RC1
> Inject LDIF files at the right level when running tests
> -------------------------------------------------------
>
> Key: DIRSERVER-1307
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1307
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Fix For: 2.0.0-RC1
>
>
> When running integration tests, we can use @ApplyLdif or @ApplyLdifFiles annotations. The only problem is that those LDIFs are injected and rollbacked for every method, whatever the cleanup level set.
> It would be way better to inject and rollback files on the correct level :
> - at the Suite level if the annotation is present into the suite
> - at the class level if the annotation is present into the test class
> - at the method level if the annotation is present into the method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.