directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1307) Inject LDIF files at the right level when running tests
Date Fri, 06 Feb 2009 10:43:59 GMT
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: 1.5.5


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.


Mime
View raw message