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/09/09 17:59:21 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=15477838#comment-15477838 ] 

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

I think [warbucks-maven-plugin|http://code.revelc.net/warbucks-maven-plugin/index.html] would work perfectly for this. (It should... I created it with this in mind.) It's Java 8 only, so it can't go into earlier branches, unless we require Java 8 for the build (which would probably be okay, since we have animal-sniffer to ensure target Java 7 compatibility; alternatively, we could support [toolchains|https://maven.apache.org/guides/mini/guide-using-toolchains.html]).

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