accumulo-notifications mailing list archives

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


Josh Elser commented on ACCUMULO-4432:

bq. Is there a way to specify uncategorized tests? If so, maybe we don't need this.

I am not aware of such a way.

bq. 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.

I am not sure if checkstyle would be sufficient to be able to analyze the type hierarchy (given
the inherited annotation). I would be happy to use anything that already exists or you would
like to create.

> Write test to assert that all ITs are categorized
> -------------------------------------------------
>                 Key: ACCUMULO-4432
>                 URL:
>             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|]
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

View raw message