spot. If you already have suitable test cases that you'd like to contribute, then go ahead and open an improvement in our tracking system. Anchor |
---|
| Obtaining and using the CTS |
---|
| Obtaining and using the CTS |
---|
| Obtaining and using the CTSCurrently the SDO CTS is only available in source form from the subversion repository. You will need the following: The code can be down loaded from the subversion repository using : Code Block |
---|
svn co http://svn.apache.org/repos/asf/incubator/tuscany/java/cts/
|
The SDO CTS project currently contains two sub-projects: - cts/sdo2.1 contains the acutal test cases
- cts/sdo2.1-tuscany executes the test cases against the current Tuscany Implementation
To build the CST and run it against the Tuscany implementation all you need do is: Code Block |
---|
me@mine:~$ cd cts
me@mine:~/cts$ mvn
|
Note that some users report that 0 tests are executed when performing these instructions. This is reported in Jira TUSCANY-1249. If you see these symptoms and have any insights please report them in the Jira. An alternative means of running the tests is to run them from within the Eclipse platform as described below. If you would like to execute the SDO CTS against a different implementation then you will need to provide a helper class. For more info on this see the Contributing section. Running the CTS against Tuscany in EclipseWithin the Tuscany svn repository there are two distinct source code hierarchies related to the CTS. The first, under the directory sdo2.1 is the real community test suite, and the second, sdo2.1-tuscany is the code that Tuscany uses to exercise the CTS. Another SDO implementation wishing to use the CTS would need to produce code similar to the Tuscany specific code to run the CTS tests against itself. It is important to maintain the separation of these two source hierarchies, so that no Tuscany code leaks into the generic CTS code, otherwise other SDO implementations would see compile failures in the core CTS because of the absence of the Tuscany code from their environment. If you are running and perhaps modifying the CTS in Eclipse then you can get help from Eclipse to ensure that this separation is maintained by setting up two |