You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "zi peng (JIRA)" <ji...@apache.org> on 2019/08/15 14:48:00 UTC

[jira] [Created] (CXF-8092) duplicate test run due to test inheritance

zi peng created CXF-8092:
----------------------------

             Summary: duplicate test run due to test inheritance
                 Key: CXF-8092
                 URL: https://issues.apache.org/jira/browse/CXF-8092
             Project: CXF
          Issue Type: Test
          Components: Integration
    Affects Versions: 3.3.2
            Reporter: zi peng


Description: 14 test methods in Test Class  _ManagedConnectionFactoryImplTest  are_ inherited by _AssociatedManagedConnectionFactoryImplTest._ Both test classes are non-abstract.

The 14 test methods will be executed twice: once in _AssociatedManagedConnectionFactoryImplTest and once in_ _ManagedConnectionFactoryImplTest._

Testing the same code twice is a waste of test resources. Suggest refactoring.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)