You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2010/12/15 09:17:58 UTC

[jira] Closed: (SUREFIRE-550) Per-test or test group system properties

     [ http://jira.codehaus.org/browse/SUREFIRE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-550.
---------------------------------------

    Resolution: Won't Fix
      Assignee: Kristian Rosenvold

If you need to set -Dfile.encoding use forkMode=once and argLine. If you need to test multiple permutations you can use multiple executions of the surefire plugin with different settings.

As for other common properties, common practice is to use a common base class for your tests.

I'm marking this issue as won't fix, but feel free to reopen with additional information/argumentation.

> Per-test or test group system properties
> ----------------------------------------
>
>                 Key: SUREFIRE-550
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-550
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: process forking
>    Affects Versions: 2.4.3
>            Reporter: Benson Margulies
>            Assignee: Kristian Rosenvold
>
> As a user of surefire, I want to be able to specify different system properties for different tests, so that I don't have to make extra projects just to organize these tests. For example, if I need to run a particular test with -Dfile.encoding set to a non-default value, I currently appear to need to create an entire maven project to contain this.

-- 
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