[
https://issues.apache.org/jira/browse/ACCUMULO-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450269#comment-15450269
]
Dima Spivak commented on ACCUMULO-4423:
---------------------------------------
I love that there's an effort being made to separate the distributed
cluster-runnable ITs from those that aren't. I added some comments to the PR
(specifically, having Surefire run ITs is scary, so I might avoid it...), but
more generally, I'd say the functionality that I'd most like with this is the
ability to run only the standalone-compatible tests with a simple command. As
it stands, I end up generating a list of {{-Dit.test=...}} to verify
functionality of Accumulo on an exotically-configured cluster, and if I could
do away with that in favor of a single profile command line invocation, I'd be
a particularly happy camper. Either way, great to see progress on this front,
[~elserj].
> 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: 1.7.3, 1.8.1, 2.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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)