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 DDFED18092 for ; Wed, 10 Jun 2015 03:16:01 +0000 (UTC) Received: (qmail 39731 invoked by uid 500); 10 Jun 2015 03:16:01 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 39677 invoked by uid 500); 10 Jun 2015 03:16:01 -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 39659 invoked by uid 99); 10 Jun 2015 03:16:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 03:16:01 +0000 Date: Wed, 10 Jun 2015 03:16:01 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SUREFIRE-856) Running single test in Failsafe using CLI does not override configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SUREFIRE-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tibor Digana updated SUREFIRE-856: ---------------------------------- Fix Version/s: 2.19 > Running single test in Failsafe using CLI does not override configuration > ------------------------------------------------------------------------------------ > > Key: SUREFIRE-856 > URL: https://issues.apache.org/jira/browse/SUREFIRE-856 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Failsafe Plugin > Affects Versions: 2.12 > Environment: Mac OS X 10.7, Maven 3.0.3, JDK 1.7.0_04-ea > Reporter: David Drake > Priority: Minor > Fix For: 2.19 > > > h4. Description > If a single test is specified from using CLI parameters, but the test does not match the pattern for failsafe, then the test will not run. This is different from the behavior for the surefire plugin, which will run any test specified using CLI parameters. If the test does match the pattern for failsafe, then it will run. > h4. Reproduction steps > # Create a project with a single test named "Sample.java". > # Add the following block to the failsafe configuration: > {code:xml} > > **/Sample.java > > {code} > # Run "mvn clean verify -Dit.test=Sample" from the command line (and verify that test runs). > # Remove the block shown above from the pom. > # Run "mvn clean verify -Dit.test=Sample" from the command line. > h4. Expected results > Sample test is run, as before, and no other tests are run. > h4. Actual results > No tests are run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)