hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11731) Add option to only run a subset of the shell tests
Date Wed, 13 Aug 2014 17:00:17 GMT

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

Sean Busbey commented on HBASE-11731:

Edit looks correct for fixing the paste error. Thanks!

When you say "test name"  do you mean the start of the file name containing tests (like the
second example above)?

Or do you mean the name of the classes we declare our tests in?

e.g. "AdminHelpersTest" in the example below

module Hbase
  class AdminHelpersTest < Test::Unit::TestCase
    include TestHelpers

The latter option will be substantially harder to implement. I think I can do it with some
ugly ruby, but I would no longer consider the ticket "beginner".

Worth noting that we can't practically do this filtering at the level of individual tests,
because they have names like {{"exists? should return true when a table exists"}}.

> 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

View raw message