accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4432) Write test to assert that all ITs are categorized
Date Wed, 31 Aug 2016 04:49:20 GMT

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

Josh Elser commented on ACCUMULO-4432:
--------------------------------------

bq. Checkstyle modules aren't as easy to write as maven plugins, so I might code a maven plugin
up later this week. If you have specific configuration options to use as requirements, let
me know.

I would happily defer to you. I think the only requirement we have would be that all {{*IT}}'s
have a {{\@Category}} in their type hierarchy. Again, I would defer to you to come up with
things you think would be more general helpful/reusable.

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

Mime
View raw message