accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4423) Define categories for integration test execution
Date Tue, 30 Aug 2016 22:23:20 GMT

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

Christopher Tubbs commented on ACCUMULO-4423:
---------------------------------------------

bq. Maybe doing a third execution...

No, please. The simplest way to proceed is to keep with the single execution we had before,
and just use the surefire/failsafe built-in user properties to control which tests are run.
These can be highlighted/linked in the testing documentation, as well as a description of
what categories we provide.

This would enable users to have full control over which tests are run in a given build, without
us needing to do anything special in our build. All of it would be driven by well-documented
and established standards of the testing plugins (surefire/failsafe) themselves.

> 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: 2h 40m
>  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)

Mime
View raw message