[ 
https://issues.apache.org/jira/browse/HBASE-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841727#action_12841727
 ] 

stack commented on HBASE-2279:
------------------------------

I made an attempt a while back.  If you look at end of HBase.rb, you'll see 
this:

  # Testing. To run this test, there needs to be an hbase cluster up and
  # running.  Then do: ${HBASE_HOME}/bin/hbase org.jruby.Main bin/HBase.rb

It then does a bunch of exercising of the HBase.rb content.

It should rightly be plugged into junit firing up a minihbasecluster and then 
staring a jruby interpreter and have hit run whats here in HBase.rb but I never 
got around to that part.

> Hbase Shell does not have any tests
> -----------------------------------
>
>                 Key: HBASE-2279
>                 URL: https://issues.apache.org/jira/browse/HBASE-2279
>             Project: Hadoop HBase
>          Issue Type: Test
>          Components: test
>            Reporter: Alexey Kovyrin
>            Assignee: Alexey Kovyrin
>            Priority: Minor
>
> Hbase shell - pretty critical part of hbase distribution does not have any 
> tests for its ruby code. This causes problems when some hbase internal APIs 
> change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to