hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-23665) Split unit tests from TestTableName into a separate test only class
Date Fri, 17 Jan 2020 17:54:00 GMT

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

Nick Dimiduk resolved HBASE-23665.
----------------------------------
    Resolution: Fixed

Thanks for the cleanup [~bharathv].

> Split unit tests from TestTableName into a separate test only class
> -------------------------------------------------------------------
>
>                 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
>             Fix For: 3.0.0, 2.3.0, 1.6.0
>
>
> 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)

Mime
View raw message