[jboss-jira] [JBoss JIRA] (AS7-3556) Replace mocked subsystem model tests with functional tests

David Bosschaert (JIRA) jira-events at lists.jboss.org
Mon Feb 6 08:03:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-3556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664430#comment-12664430 ] 

David Bosschaert commented on AS7-3556:
---------------------------------------

These unit tests are actually quite valuable. They test the inner workings of these classes and therefore mock out their environment.

However I do see value in providing additional system tests for the OSGi subsystem management. Shall we rename this bug to 'Add system tests for OSGi subsystem model'?
                
> Replace mocked subsystem model tests with functional tests
> ----------------------------------------------------------
>
>                 Key: AS7-3556
>                 URL: https://issues.jboss.org/browse/AS7-3556
>             Project: Application Server 7
>          Issue Type: Task
>          Components: OSGi
>            Reporter: Thomas Diesler
>            Assignee: David Bosschaert
>
> There are a number of tests that heavily use mocked objects and attempt to verify correct operations on the OSGi subsystem domain model. These should be replaced with functional tests that run against a managed server and verify that the subsystem actually behaves as intended. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list