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-4423) Define categories for integration test execution
Date Thu, 25 Aug 2016 21:34:20 GMT

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

Josh Elser commented on ACCUMULO-4423:
--------------------------------------

bq.  I've been spending a bit of time in recent days playing around with what I found in that
TESTING.md and did run into some complications when trying to point to my standalone cluster
(like, at least on 1.7.2, an undocumented need to include a accumulo.it.cluster.clientconf
system property). Do you happen to have any other documentation on getting tests running in
standalone mode?

Hrm, [~mdrob] and I had chatted in IRC a few times on the matter too. Sounds like there's
some bit-rot happening? I think I have this automated at $dayjob, let me cross-ref what is
done there with the docs. This would be good to make sure is documented.

bq. Once I have my mind around it sufficiently, I'd love to try contributing something to
make life easier for lazy engineers like myself (maybe starting with clarifying some docs,
but then hopefully extending options for how people can run tests). 

That'd be awesome! I'm going to go ahead and add you as a contributor so you can be autonomous
on JIRA :)

> Define categories for integration test execution
> ------------------------------------------------
>
>                 Key: ACCUMULO-4423
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4423
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: build, test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 2.0.0
>
>
> Had a thought the other day when talking to some folks about testing.
> Our current integration tests can be broken down into two categories:
> * Encapsulated (MiniCluster only)
> * Capable of using a Standalone Accumulo instance (instead of a MiniCluster)
> with any ITs that don't have MiniClusters (if there are any), I am lumping them into
the Encapsulated category.
> Now, if I have an environment set up which I can run these Standalone tests against,
it would be nice to just be able to execute those tests. I could then run the unit tests,
checkstyle, findbugs, and encapsulated integration tests out of band, not tied to the lifetime
(and cost) of that environment for the Standalone tests.
> It would be nice if we can use something like JUnit categories to group these tests and
then provide the "hooks" in the build to let users specify which categories are executed.



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

Mime
View raw message