synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: svn commit: r1211407 [1/7] - in /synapse/trunk/java/modules/integration: ./ src/ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/synapse/ src/test/java/org/apache/synapse/samples/ src/test/java/org/apache/...
Date Mon, 02 Dec 2013 20:49:04 GMT
I understand the reason now. See r1547184.

Andreas

On Sun, Nov 24, 2013 at 8:41 PM, Hiranya Jayathilaka
<hiranya911@gmail.com> wrote:
> Hi Andreas,
>
> On Nov 24, 2013, at 3:30 AM, Andreas Veithen <andreas.veithen@gmail.com>
> wrote:
>
> On Wed, Dec 7, 2011 at 1:17 PM,  <hiranya@apache.org> wrote:
>
> +            <plugin>
> +                <groupId>org.apache.maven.plugins</groupId>
> +                <artifactId>maven-surefire-plugin</artifactId>
> +                <version>2.9</version>
> +                <configuration>
> +                    <systemPropertyVariables>
> +                        <property>
> +                            <name>suite</name>
> +                            <value>${suite}</value>
> +                            <name>tests</name>
> +                            <value>${tests}</value>
> +                        </property>
> +                        <timeStamp>${maven.build.timestamp}</timeStamp>
> +
> <log4j.configuration>test-log4j.properties</log4j.configuration>
> +                    </systemPropertyVariables>
> +                    <argLine>-Xms512m -Xmx1024m
> -XX:MaxPermSize=512m</argLine>
> +                    <workingDirectory>../..</workingDirectory>
> +
> <!--redirectTestOutputToFile>true</redirectTestOutputToFile-->
> +                    <forkMode>pertest</forkMode>
> +                </configuration>
> +            </plugin>
>
>
> Is there a particular reason to configure the working directory for
> the tests like this in the synapse-integration module? By default,
> surefire uses the Maven project directory, and this is also what
> Eclipse uses by default. So, by changing the setup of the integration
> tests to use the default directory, we would make it easier to run
> them in Eclipse.
>
>
> I cannot recall any specific reasons. If it doesn't break anything, please
> go ahead and do the necessary changes. I think the ability to run
> integration tests in an IDE is a very useful feature.
>
> Thanks,
> Hiranya
>
>
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>
> --
> Hiranya Jayathilaka
> Mayhem Lab/RACE Lab;
> Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
> E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
> Blog: http://techfeast-hiranya.blogspot.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message