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/02/06 11:43:59 UTC

[jira] Created: (DIRSERVER-1307) Inject LDIF files at the right level when running tests

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.


[jira] Updated: (DIRSERVER-1307) Inject LDIF files at the right level when running tests

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (DIRSERVER-1307) Inject LDIF files at the right level when running tests

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1307.
----------------------------------------


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


[jira] Resolved: (DIRSERVER-1307) Inject LDIF files at the right level when running tests

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari resolved DIRSERVER-1307.
---------------------------------------

    Resolution: Fixed

This has been fixed in the new testing framework (apacheds-test-framework)

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