Hi Andreas, On Nov 24, 2013, at 3:30 AM, Andreas Veithen <[email protected]> wrote:
> On Wed, Dec 7, 2011 at 1:17 PM, <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > -- Hiranya Jayathilaka Mayhem Lab/RACE Lab; Dept. of Computer Science, UCSB; http://cs.ucsb.edu E-mail: [email protected]; Mobile: +1 (805) 895-7443 Blog: http://techfeast-hiranya.blogspot.com
