You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Dima Spivak (JIRA)" <ji...@apache.org> on 2016/08/25 21:08:20 UTC

[jira] [Commented] (ACCUMULO-4423) Define categories for integration test execution

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

Dima Spivak commented on ACCUMULO-4423:
---------------------------------------

I would love to help out with this effort. I come from HBase land (please, no pitchforks :-p), and we have a pretty straightforward way to run system tests from the command line without getting tied into the build process of HBase itself (in our case, we can do {{hbase org.apache.hadoop.hbase.test...}} and it'll just work because tests use {{ToolRunner}} and can be run from their {{main}} method). Extending this to Accumulo would be fun.

> Define categories for integration test execution
> ------------------------------------------------
>
>                 Key: ACCUMULO-4423
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4423
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: build, test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 2.0.0
>
>
> Had a thought the other day when talking to some folks about testing.
> Our current integration tests can be broken down into two categories:
> * Encapsulated (MiniCluster only)
> * Capable of using a Standalone Accumulo instance (instead of a MiniCluster)
> with any ITs that don't have MiniClusters (if there are any), I am lumping them into the Encapsulated category.
> Now, if I have an environment set up which I can run these Standalone tests against, it would be nice to just be able to execute those tests. I could then run the unit tests, checkstyle, findbugs, and encapsulated integration tests out of band, not tied to the lifetime (and cost) of that environment for the Standalone tests.
> It would be nice if we can use something like JUnit categories to group these tests and then provide the "hooks" in the build to let users specify which categories are executed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)