You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2020/01/08 19:47:00 UTC

[jira] [Created] (HBASE-23665) TestTableName is both a test class and a TestRule

Nick Dimiduk created HBASE-23665:
------------------------------------

             Summary: TestTableName is both a test class and a TestRule
                 Key: HBASE-23665
                 URL: https://issues.apache.org/jira/browse/HBASE-23665
             Project: HBase
          Issue Type: Test
          Components: test
            Reporter: Nick Dimiduk


The class {{TestTableName}} in hbase-common is both a unit test for the {{TableName}} class, and a junit {{TestRule}}. This double-duty is strange; the Rule functionality is not discoverable at all. Split the Rule out into a separate class, maybe {{TableNameRule}} or some such.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)