summaryrefslogtreecommitdiffstats
path: root/java/sca/otest/newlayout/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-10-15 09:38:10 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-10-15 09:38:10 +0000
commit70ac26654f53801c40c83107c641c3f699f339c8 (patch)
tree7f8ebc029ad2bf26e0488991da33b6aed9a6996d /java/sca/otest/newlayout/README
parent199538aee84dc58cf94ca8a5568d5c0e0a80a4e8 (diff)
Update the README with details on the SCA-J CAA tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/otest/newlayout/README31
1 files changed, 27 insertions, 4 deletions
diff --git a/java/sca/otest/newlayout/README b/java/sca/otest/newlayout/README
index 37994520bf..6b2588a658 100644
--- a/java/sca/otest/newlayout/README
+++ b/java/sca/otest/newlayout/README
@@ -1,10 +1,20 @@
Running the otests with Tuscany using Maven
===========================================
+To get the OASIS compliance tests from SVN:
+
+svn co https://svn.apache.org/repos/asf/tuscany/java/sca/otest/newlayout/ otests
+
+To run the tests:
+
cd otest/newlayout
mvn
-should build and run all of the otests
+should build and run all of the Assembly spec otests
+
+mvn -Pscajcaa
+
+should build and run all of the SCA-J CAA spec 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
@@ -13,6 +23,8 @@ which is configured by the org.oasis.sca.tests.assembly.runtime_bridge property.
Running the otests with Tuscany using Eclipse
=============================================
+For the Assembly tests:
+
cd otest/newlayout
mvn eclipse:eclipse
@@ -22,15 +34,26 @@ 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)
+For the SCA-J CAA tests:
+
+mvn -Pscajcaa eclipse:eclipse
+
+import otest/newlayout/tuscany-java-caa-test-runner into eclipse
+import otest/newlayout/sca-java-caa into eclipse
+
+
+
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
+ newlayout/ - the latest otests
+ tuscany-test-runner - the tuscany specific code + code copied from sca-assembly/Test_Client
+ sca-assembly/ - the Assembly otest source pulled directly from OASIS svn via svn:externals
+ sca-java-caa/ - the SCA-J CAA otest source pulled directly from OASIS svn via svn:externals
+ tuscany-java-caa-test-runner - the tuscany specific code + code for running the SCA-J CAA tests
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