Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98711D29E for ; Fri, 27 Jul 2012 14:31:47 +0000 (UTC) Received: (qmail 69227 invoked by uid 500); 27 Jul 2012 14:31:47 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 69187 invoked by uid 500); 27 Jul 2012 14:31:47 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 69179 invoked by uid 99); 27 Jul 2012 14:31:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 14:31:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 14:31:41 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 0EB4CB0661 for ; Fri, 27 Jul 2012 09:31:21 -0500 (CDT) Date: Fri, 27 Jul 2012 09:31:21 -0500 (CDT) From: "Giorgio Vespucci (JIRA)" To: issues@maven.apache.org Message-ID: <607544749.32534.1343399481060.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> Subject: [jira] (SUREFIRE-891) Surefire with does not pick up test classes whose name doesn't end with "Test" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 Giorgio Vespucci created SUREFIRE-891: ----------------------------------------- Summary: Surefire with does not pick up test classes whose name doesn't end with "Test" Key: SUREFIRE-891 URL: https://jira.codehaus.org/browse/SUREFIRE-891 Project: Maven Surefire Issue Type: Bug Components: Junit 4.7+ (parallel) support, Maven Surefire Plugin Affects Versions: 2.12 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Java version: 1.7.0_03, vendor: Oracle Corporation OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" JUnit 4.10 + surefire-junit47 provider + parallel "methods" Reporter: Giorgio Vespucci Attachments: pom-surefire-issue.xml I followed the guide at http://maven.apache.org/plugins/maven-surefire-plugin/examples/junit.html but a couple of test classes whose name don't end with "Test", only having methods annotated as @Test, are not picked up and executed. These classes are executed normally when I class "Run as JUnit Test" in Eclipse Juno. A snippet of the pom.xml I'm using is attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira