You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/08/14 11:06:13 UTC

[jira] [Updated] (HBASE-11731) Add option to only run a subset of the shell tests

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

Sean Busbey updated HBASE-11731:
--------------------------------

    Attachment: HBASE-11731.patch

Here's an implementation that allows matching the RUnit test cases (which should correspond to the names of test classes.

It turns out RUnit had a (somewhat non-obvious) way to do this already, so I just hooked into that. One downside is that we have to use ruby-style regex literals to do the wildcard matching.

Since this might be surprising, I added text to the book's dev section on testing.

> Add option to only run a subset of the shell tests
> --------------------------------------------------
>
>                 Key: HBASE-11731
>                 URL: https://issues.apache.org/jira/browse/HBASE-11731
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, shell
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Minor
>              Labels: beginner
>         Attachments: HBASE-11731.patch
>
>
> Right now, contributors to the shell can limit testing to just the shell tests but there's no way to limit to just a subset of them.
> It would be nice if I could just run the test for the thing I'm changing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)