On Wed, Apr 20, 2011 at 10:37 AM, ant elder <[email protected]> wrote: > On Tue, Apr 19, 2011 at 8:20 PM, ant elder <[email protected]> wrote: > >> >> I'm not sure how well it will work using Ant tasks to run the two >> processes, from what i remember that approach always ended up causing >> intermitent hangs in the build, which i think is one of the reasons >> why all these type tests have ended up taken out of the build. >> > > I was thinking about this and an alternative approach would be to use > the Tuscany plugin to start/stop a runtime before/after the tests in > the same way that the Tomcat/Jetty plugins are used to do testing of > webapps. The only thing needed to support that is a way to have the > plugin not do the wait after starting the runtime so that the build > continues and the tests get run. I'll add that now so we can see how > well this approach will work. >
I've added the start of this to the Tuscany plugin and added an itest that uses it at: https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/testing/itest/scaclient-remote/ The plugin config in the pom.xml starts and stops a Tuscany runtime and the testcase uses teh SCAClient API to invoke a service in the runtime. ...ant
