You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/03/10 15:06:13 UTC

[jira] Issue Comment Edited: (SUREFIRE-540) Surefire doesn't support @IfProfileValue

    [ http://jira.codehaus.org/browse/SUREFIRE-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168759#action_168759 ] 

Benjamin Bentmann edited comment on SUREFIRE-540 at 3/10/09 9:05 AM:
---------------------------------------------------------------------

The handling of system properties was deliberately changed, see the linked issue.

      was (Author: bentmann):
    This change was deliberately made, see the linked issue.
  
> Surefire doesn't support @IfProfileValue
> ----------------------------------------
>
>                 Key: SUREFIRE-540
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-540
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>            Reporter: Christoph Kutzinski
>            Assignee: Benjamin Bentmann
>
> Regression from 2.4.2:
> I'm using Spring's @IfProfileValue annotation to run certain unit tests only in specific circumstances. E.g.
> @IfProfileValue(name="test.profile.stress", value="true")
> public class StressTest { ... }
> and start the tests with mvn test -Dtest.profile.stress=true.
> This works with Surefire 2.4.2, but with 2.4.3 the tests are skipped without further explanation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira