[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 13:57:49 EST 2012


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

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

I see that OSGiCapabilityAddRemoveTestCase and SubsystemStateTestCase are ignored and possibly broken. The other tests are running as normal AFAICS.

{quote}The value of these tests would disappear once the functional tests are in place{quote}

Basically what you're saying here is that unit tests aren't useful any more once you have system tests in place. I disagree with that.

On the other hand I would be more than happy fixing the broken tests and adding some extra system tests if that works for you.
                
> 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