Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4488BC0D0 for ; Tue, 1 May 2012 16:38:03 +0000 (UTC) Received: (qmail 84885 invoked by uid 500); 1 May 2012 16:38:01 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 84825 invoked by uid 500); 1 May 2012 16:38:01 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 84814 invoked by uid 99); 1 May 2012 16:38:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 16:38:01 +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 ljnelson@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-we0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 16:37:56 +0000 Received: by werf13 with SMTP id f13so2954786wer.30 for ; Tue, 01 May 2012 09:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DsC+jSr8/CNRJt1FLv2YLuJ4W6nrPzQMlrBh7MB6WBc=; b=B6NyOKP79wsa6NJajduOMI2IzoeayE4Y/9T6/SE2Wb4GH24ut1+owpgsx2RxaUqoVw yymiT3wZJE0zEvMqJjp5cDWk/7IEsrmllQl7ahNtmtkvpPjoAvhXWksCWRXtCb8d7RDN eTdtahxgYUzQJhhcPoEuQ21/8EM9GcvyBwPSElU6Gbkti3J6ZHCq2wPgtxRafNWo4UVX 8zxvLEoqquqH/dNX6rBCE7WSN4FQFm90kPs2rlgulibEI+AQIz/yjcnnlgXpRcPfjHey EYewJl9ypD7dfaqAKruhylzWo3L33jwn/HS+hm56M2A1VqtAq5/G61skPkXHKkpwHsd5 r/Kw== MIME-Version: 1.0 Received: by 10.180.8.231 with SMTP id u7mr6462445wia.9.1335890254895; Tue, 01 May 2012 09:37:34 -0700 (PDT) Received: by 10.223.104.75 with HTTP; Tue, 1 May 2012 09:37:34 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 May 2012 12:37:34 -0400 Message-ID: Subject: Re: Surefire unable to find "bar" test method when passed -Dtest=Foo#bar From: Laird Nelson To: Maven Users List Content-Type: multipart/alternative; boundary=f46d044304d01a193a04befc304c X-Virus-Checked: Checked by ClamAV on apache.org --f46d044304d01a193a04befc304c Content-Type: text/plain; charset=UTF-8 On Tue, May 1, 2012 at 12:36 PM, Laird Nelson wrote: > mvn clean install -fae -Pminlog -Dtest='TestCaseFoo#testBar' > I also tried -Dtest='TestCaseFoo#testB*' which failed with the same error, so that told me that it was indeed able to find the name of the test method, as the error message indicates "testBar". Best, Laird -- http://about.me/lairdnelson --f46d044304d01a193a04befc304c--