diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-23 13:25:42 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-23 13:25:42 +0000 |
commit | 535a6631218982e44bb6123dbba048b45b6f91c4 (patch) | |
tree | 138c8c9386a2beab48c436b2cd2ac8efb5eb62ae | |
parent | 851e86df3f9c94fb834f339ce346eb32c6d1f56d (diff) |
Add a README to match the new layout
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818097 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/sca/otest/newlayout/README | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/java/sca/otest/newlayout/README b/java/sca/otest/newlayout/README new file mode 100644 index 0000000000..37994520bf --- /dev/null +++ b/java/sca/otest/newlayout/README @@ -0,0 +1,45 @@ +Running the otests with Tuscany using Maven +=========================================== + +cd otest/newlayout +mvn + +should build and run all of the otests + +The file otest\newlayout\tuscany-test-runner\src\test\resources\oasis-sca-tests.properties configures the +test environment. Currently you can run in either the Java standalone or OSGi runtimes +which is configured by the org.oasis.sca.tests.assembly.runtime_bridge property. + +Running the otests with Tuscany using Eclipse +============================================= + +cd otest/newlayout +mvn eclipse:eclipse + +import otest/newlayout/tuscany-test-runner into eclipse +import otest/newlayout/sca-assembly/General into eclipse +import otest/newlayout/sca-assembly/General_Java into eclipse + +import which ever other contributions you need into eclipse (depends on which tests you are running) + +Structure of the otests +====================== + +The otest directory, once checked out, contains files from both OASIS and Tuscany svn. As follows + +otest/ + newlayout/ - the latest otests + tuscany-test-runner - the tuscany specific code + code copied from sca-assembly/Test_Client + sca-assembly/ - the otest source pulled directly from OASIS svn via svn:externals + +The Junit test cases are copied, using an ant script called by maven, from sca-assembly/Test_Client +into tuscany-test-runner so that we can overlay them with Tuscany specific bridges and property +files. In particular the Tuscany version of the test property files can be found at + +tuscany-test-runner/src/test/resources/ + +Maven puts this on the classpath before + +tuscany-test-runner/src/main/resources + +Which is where the otest versions get copied to and hence the Tuscany ones get picked up. |