You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/09/13 18:58:00 UTC

[jira] [Commented] (GEODE-5735) Layers of inheritance generating thousands of tests.

    [ https://issues.apache.org/jira/browse/GEODE-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613933#comment-16613933 ] 

Dan Smith commented on GEODE-5735:
----------------------------------

I think basic intention of these tests is to test that that different configurations of region still obey the same Region contract. So it does kinda make since to run the same test against many different configurations. But maybe these tests aren't organized that well; for example I'm not quite sure why a deep inheritance heirarchy is necessary and I definitely see some tests being disabled or having if conditions for some configurations.

> Layers of inheritance generating thousands of tests.
> ----------------------------------------------------
>
>                 Key: GEODE-5735
>                 URL: https://issues.apache.org/jira/browse/GEODE-5735
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Mark Hanson
>            Priority: Major
>
> Distributed(No)AckRegion*DUnitTests inherits from Distributed(No)AckRegionDUnitTest test class which inherits from the MultiVMRegionTestCase test class which inherits from the RegionTestCase test class. This is generating a large number of tests that do virtually the same things. 
> Maybe we don't need so many duplicated tests. Perhaps the thing to do is to define some base classes and that do what we need more effectively.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)