Gary
That's correct. It's more about testing from a user perspective of
testing our synapse configuration, transformations, etc. If I
envisioned this it would be to launch Synapse, load the configuration
and resources, etc. all in the setup of a unit test, and then in the
tests bang against that instance.
It's something we can work out on our side and post back to do it. I
don't see it being anything more elaborate than getting the right
maven dependencies for the runtime, launch axis/synapse embedded,
point to our configuration all inside some base unit test that we can
extend. We're still doing a POC, so I want to get through that first.
I just wanted to see if anybody had done this already.
Sometime back Ruwan automated some of our many samples as unit tests..
these can be found here [1], and triggered if you pass "-Dintegration"
to Maven. See the pom.xml here [2]
asankha
[1]
http://svn.apache.org/repos/asf/synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/
[2]
http://svn.apache.org/repos/asf/synapse/trunk/java/modules/samples/pom.xml
--
Asankha C. Perera
WSO2 - http://wso2.org
http://esbmagic.blogspot.com