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/13 20:35:00 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-23665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk reassigned HBASE-23665:
------------------------------------

    Assignee: Bharath Vissapragada

> 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
>            Assignee: Bharath Vissapragada
>            Priority: Minor
>
> 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)