Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9EA5E200B80 for ; Tue, 30 Aug 2016 23:51:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9D2CE160AAF; Tue, 30 Aug 2016 21:51:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC485160ABA for ; Tue, 30 Aug 2016 23:51:21 +0200 (CEST) Received: (qmail 48586 invoked by uid 500); 30 Aug 2016 21:51:21 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 48485 invoked by uid 99); 30 Aug 2016 21:51:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 21:51:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DDB572C1B7F for ; Tue, 30 Aug 2016 21:51:20 +0000 (UTC) Date: Tue, 30 Aug 2016 21:51:20 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4423) Define categories for integration test execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 30 Aug 2016 21:51:22 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450249#comment-15450249 ] Josh Elser commented on ACCUMULO-4423: -------------------------------------- Oops, one other thing. I believe we need to also verify that new integration tests added inherit one of these Category annotations, otherwise those tests will never be invoked (as failsafe is now configured using groups only). Maybe doing a third execution which is {{!MiniClusterOnlyTest,!AnyClusterTest}} would also work? Let me see if I can try this.. > 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: 1.7.3, 1.8.1, 2.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)