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-3370) Integration tests runs should be controlled via junit categories
Date Mon, 01 Dec 2014 20:04:13 GMT

    [ 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)

Mime
View raw message