cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: How to run a test with a wierd set of system properties
Date Wed, 13 May 2009 11:24:30 GMT
Hi Benson,
You can  do it like
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <property>
                            <name></name>
                            <value></value>
                        </property>
                </configuration>
            </plugin>
But it will affect all testcase, for a specific test, how about set 
system properties in the setUp method?
Freeman


Benson Margulies wrote:
> Can one have multiple executions of the maven-surefire-plugin? I want to add
> a test case that runs with a strange setting of file.encoding to the
> systests.
>
>   


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Mime
View raw message