Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E66B990F for ; Thu, 5 Jan 2012 02:26:24 +0000 (UTC) Received: (qmail 20493 invoked by uid 500); 5 Jan 2012 02:26:23 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 20079 invoked by uid 500); 5 Jan 2012 02:26:22 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 50723 invoked by uid 99); 5 Jan 2012 01:30:34 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noel.yap@gmail.com designates 209.85.216.52 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=pknSNUA5n7DzXp2U8URnyDjzkuA0DVD602S5asTv4vo=; b=bx86cqCQ04jzKI8N2jSGY1hTbqKcAp1L2bx2+RbIYupvGGMVis+uNJCzMwyFKZwFIB MzWq9uixJDROpQejg7Ls67GHzooHPIkfkCHjL6p+6JcQnMAuL44Uy03tdFBXRFI+AuYI Z90HVUY8gEZcfd51Va8gEiQT0FyvtC2DnJXWE= MIME-Version: 1.0 From: Noel Yap Date: Wed, 4 Jan 2012 17:29:36 -0800 Message-ID: Subject: want to extend JUnitTestRunner to allow specification of JUnit Filters To: dev@ant.apache.org Content-Type: multipart/alternative; boundary=20cf300fb0ed5599de04b5bddfea --20cf300fb0ed5599de04b5bddfea Content-Type: text/plain; charset=ISO-8859-1 I'd like to extend JUnitTestRunner to allow specification of JUnit Filters. This would allow, for example, tests to be filtered by Category. It looks like all I would need to do is to create a Description from the test class (or test class and method name) and annotations then pass it through a series of user-specified Filters. What objections might there be by adding such a feature? Are there any gotchas with the approach I described? Thanks, Noel --20cf300fb0ed5599de04b5bddfea--