Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-19 Thread Alex Karasulu
On Thu, Mar 13, 2014 at 4:54 AM, Alex Karasulu wrote: > Hello, > > I've got a module that builds an executable jar file using the Maven > Assembly Plugin. I'm trying to setup an integration test (in the same > module) that runs this executable jar file as a separate process and > interacts with i

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Mirko Friedenhagen
Well with Netbeans you just add the following: org.apache.maven.plugins maven-surefire-plugin ${surefire.version} ${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Adrien Rivard
If you are using Eclipse you could also pass the system property directly to the JRE. ( Windows/Preferences/installed JRE/ edit /default VM arguments) It require less work than putting it in all run configuration, but all your process will have it. On Thu, Mar 13, 2014 at 8:56 AM, Stephen Connol

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-13 Thread Stephen Connolly
You could use test resource filtering to put the path into a resource file on the test classpath. That way the IDE will pick up the same path. On Thursday, 13 March 2014, Alex Karasulu wrote: > Hello, > > I've got a module that builds an executable jar file using the Maven > Assembly Plugin. I'

[Failsafe] How to properly conduct integration tests on executable jar files

2014-03-12 Thread Alex Karasulu
Hello, I've got a module that builds an executable jar file using the Maven Assembly Plugin. I'm trying to setup an integration test (in the same module) that runs this executable jar file as a separate process and interacts with it. To fire up the executable jar file, my integration test requires