[
https://issues.apache.org/jira/browse/ACCUMULO-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437696#comment-15437696
]
Christopher Tubbs commented on ACCUMULO-4423:
---------------------------------------------
I agree with Josh. No pitchforks. Glad to have your help. :)
If I understand this ticket correctly, this is about identifying and labeling
[JUnit
categories|http://junit.org/junit4/javadoc/4.12/org/junit/experimental/categories/Categories.html]
and controlling them via the [maven-surefire-plugin's groups
parameter|http://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html#Using_JUnit_Categories].
This should be a simple task, and this is something I've wanted to do for the
{{-Psunny}} profile. It'd be nice to have other categories as well
(performance, etc.).
> 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)