You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/12/01 21:04:13 UTC

[jira] [Commented] (ACCUMULO-3370) Integration tests runs should be controlled via junit categories

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

Christopher Tubbs commented on ACCUMULO-3370:
---------------------------------------------

While the above premise may be wrong, regarding how tests interact with minicluster, I can imagine other uses for categories. For instance, to specify the minimal set of tests to run for release candidate creation (right now, it's defined with {{-P sunny}} in the release profile).

> Integration tests runs should be controlled via junit categories
> ----------------------------------------------------------------
>
>                 Key: ACCUMULO-3370
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3370
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini, test
>            Reporter: Mike Drob
>
> After ACCUMULO-3167 our integration tests need to specify if they can run on a mini cluster or not. They do so by either including an {{Assume}} or overriding the method {{canRunTest}}.
> Instead, we should use junit categories[1] and then can easily turn tests on and off.
> [1]: https://github.com/junit-team/junit/wiki/Categories



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