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 2016/08/31 00:45:22 UTC

[jira] [Commented] (ACCUMULO-4432) Write test to assert that all ITs are categorized

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

Christopher Tubbs commented on ACCUMULO-4432:
---------------------------------------------

Is there a way to specify uncategorized tests? If so, maybe we don't need this. If not, then we could also probably do this with a checkstyle rule or maven plugin, rather than write our own. If we go that route, and one doesn't already exist, I'd be willing to create a maven plugin to do the check, so it could be used by multiple projects.

> Write test to assert that all ITs are categorized
> -------------------------------------------------
>
>                 Key: ACCUMULO-4432
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4432
>             Project: Accumulo
>          Issue Type: Task
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.7.3, 1.8.1, 2.0.0
>
>
> Since we switched to using Categories and groups to determine which tests are run, we've introduced the possibility that we have tests which are not categorized (by accident) and they would subsequently never be run by the build.
> [~busbey] was a fine enough gent this morning and pointed me to HBase's [TestInterfaceAudienceAnnotations|https://github.com/apache/hbase/blob/master/hbase-client/src/test/java/org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.java] test class which does a similar thing for HBase. I'm thinking that we could write a similar unit test for Accumulo to prevent this edge-case.



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