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

Sean Busbey commented on HBASE-11731:
-------------------------------------

 Perhaps something like a regex to match the shell test files?:

run just the admin tests:

{{mvn -Dtest=TestShell -Dshell.test=hbase/admin_test.rb}}

run both normal admin and security admin tests:

{{mvn -Dtest=TestShell -Dshell.test=hbase/*admin_test.rb}}

run just the tests for the shell itself:

{{mvn -Dtest=TestShell -Dshell.test=shell/*_test.rb}}

> 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
>
> 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)

Reply via email to